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.
Install / Use
/learn @dayjs/Day.dartREADME
<br />
<br />
<br />
<p align="center">
<img src="https://github.com/g1eny0ung/day.dart/blob/master/day.dart.png?raw=true" alt="day.dart logo" />
</p>
<p align="center">A date library <a href="https://github.com/iamkun/dayjs/">Day.js</a> in dart.</p>
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.~~
[!NOTE] 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
License
Distributed under the MIT License.
