All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- feat: add method
addRound
to prevent date overflow by @g1eny0ung in #41 - feat: add method
subtractRound
to prevent date overflow by @g1eny0ung in #42
- chore!: now
.add()
and.subtract()
return nullable
- chore!: remove useless
.isValid()
- Refactor internal
Unit
- Enhance doc comments
- Update docs
- Support null safety
- Migrate to null safety
- Lint with pedantic
- Fix some issues
- Add
Quarter Of Year
plugin
- Add
Day Of Year
plugin
- Now
.diff()
method return no abs value - Fix issues of
y
andM
shorthands in.add()
and.substract()
- Add
Relative Time
plugin
- Now can escape string in
.format()
method
- Add
.toDateTime()
method
- Update docs
- Follow health suggestions
- Fix the version of dart
- Breaking change: rewrite plugins system with extension syntax
- Add
Is Leap Year
plugin - Update some details
- Update docs
- Follow health suggestions
- Add i18n support
- Update pubspec
- Now Day.dart join into the dayjs organization
- Plugin system supported
- Update docs
- Fix
.weekday()
method's problem - Update the type checking
- Add API reference
- Now
.timezoneOffset
returnsDuration
Add .format()
method
Update README and example
Fix pub related info
First version