Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilyasemenov/dayjs-isodate
dayjs ISO date plugin
https://github.com/ilyasemenov/dayjs-isodate
Last synced: 11 days ago
JSON representation
dayjs ISO date plugin
- Host: GitHub
- URL: https://github.com/ilyasemenov/dayjs-isodate
- Owner: IlyaSemenov
- License: mit
- Created: 2020-11-03T08:08:50.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-08T08:10:37.000Z (about 4 years ago)
- Last Synced: 2024-10-30T07:59:15.448Z (18 days ago)
- Language: JavaScript
- Size: 115 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dayjs ISO date plugin
## Install
```
yarn add dayjs-isodate
```## Use
```ts
import dayjs from "dayjs"
import dayjs_isodate from "dayjs-isodate"dayjs.extend(dayjs_isodate)
dayjs().toISODate() // "2020-10-31"
```