Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dayjs/day.dart
⏰ Day.js in dart. Day.dart is inspired by Day.js. Write with nearly the same API. Build on the top of the powerful DateTime class.
https://github.com/dayjs/day.dart
dart datetime dayjs flutter momentjs
Last synced: 4 days ago
JSON representation
⏰ Day.js in dart. Day.dart is inspired by Day.js. Write with nearly the same API. Build on the top of the powerful DateTime class.
- Host: GitHub
- URL: https://github.com/dayjs/day.dart
- Owner: dayjs
- License: mit
- Created: 2019-04-28T16:09:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-04T03:55:29.000Z (almost 3 years ago)
- Last Synced: 2024-08-02T18:36:24.417Z (3 months ago)
- Topics: dart, datetime, dayjs, flutter, momentjs
- Language: Dart
- Homepage: https://pub.dev/packages/day
- Size: 194 KB
- Stars: 68
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
A date library Day.js in dart.
> Day.dart is inspired by Day.js. Write with nearly the same API. Build on the top of the powerful **DateTime** class.
>
> ~~Important: Day.dart use the **extension** syntax to implement plugins system. So the dart version must `>= 2.7.0`.~~
>
> As Day.dart already migrated to null safety. So the minimum dart version is `2.12.0`.## Features
- 🕒 Nearly the same API as Day.js
- 💪 Contains Immutable Methods
- 🔗 Chainable
- 👀 Useful formatting method
- ⚙️ Plugin system
- 🌐 I18n support### Documentation
- 📚 [API](https://github.com/dayjs/day.dart/blob/master/API.md)
- ⚙️ [Plugins](https://github.com/dayjs/day.dart/blob/master/PLUGINS.md)
- 🌐 [I18n](https://github.com/dayjs/day.dart/blob/master/I18N.md)
## License
Distributed under the MIT License.