Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        







day.dart logo


A date library Day.js in dart.


Pub
Travis CI
GitHub

> 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.