https://github.com/afeiship/east8date
Get east +8 timezone date object.
https://github.com/afeiship/east8date
asia date shanghai standard timezone tz
Last synced: about 2 months ago
JSON representation
Get east +8 timezone date object.
- Host: GitHub
- URL: https://github.com/afeiship/east8date
- Owner: afeiship
- License: mit
- Created: 2016-11-17T10:36:20.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-02-24T02:07:11.000Z (about 1 year ago)
- Last Synced: 2025-02-07T12:31:19.327Z (3 months ago)
- Topics: asia, date, shanghai, standard, timezone, tz
- Language: TypeScript
- Homepage:
- Size: 6.91 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# east8date
> Get east +8 timezone date object.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```shell
npm install @jswork/east8date
```## usage
```js
import sdf from '@jswork/simple-date-format';
import es8 from '@jswork/east8date';const res = sdf('datetime', es8());
console.log(res);// 2024-02-24 10:06:51
```## types
```ts
///
```## license
Code released under [the MIT license](https://github.com/afeiship/east8date/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/east8date
[version-url]: https://npmjs.org/package/@jswork/east8date[license-image]: https://img.shields.io/npm/l/@jswork/east8date
[license-url]: https://github.com/afeiship/east8date/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/east8date
[size-url]: https://github.com/afeiship/east8date/blob/master/dist/index.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/east8date
[download-url]: https://www.npmjs.com/package/@jswork/east8date