dart_date 1.5.1
dart_date: ^1.5.1 copied to clipboard
Date manipulation library. DateTime extensions. Also includes an Interval object.
Changelog #
1.5.1 #
- Add
ignoreDaylightSavingsparameter tosubDays,subHours,subMinutes, andsubSecondsmethods - Update
previousWeekto useignoreDaylightSavings=truelikenextWeek - https://github.com/xantiagoma/dart_date/pull/43 changes on
nextWeekandpreviousWeekcheck if you're logic depends on daylight savings.
1.4.0 #
- !!! BREAKING CHANGE
Intervalcan accept negative values - Some methods that used to throw an error now return null instead
- Fix type with
symetricDifferencetosymmetricDifference, marking the other one as deprecated @praiaBarryTolnas #39 - !!! BREAKING CHANGE Change extension name from
DatetoDateTimeExtension@tjarvstrand #38 - static methods are now exported fromDateTimeExtension._instead ofDate._
1.3.3 #
- Support
intlv0.19.0 and Dart 3.0, thanks to @ThexXTURBOXx
1.3.2 #
- fix
isWeekend
1.3.0 #
1.2.2 #
- Update dependencies
1.2.1 #
- Merge Add setWeekDay function #24
- Merge Fix Interval intersection #22
- Merge Update README.md #21
1.1.0-nullsafety.0 #
- Add null-safety
1.0.9 #
- Rename
UTCtoutc&Localtolocalto follow dart analysis - Changes in PR #6
- Add optional
ignoreDaylightSavingstoadd*methods
1.0.8 #
- Fix isMonday, isTuesday, isWednesday, isThursday, isFriday, isSaturday, isSunday
1.0.7 #
- Add getWeekYear, getWeek, getISOWeek, getISOWeeksInYear, startOfWeekYear, startOfISOWeekYear
- Merged PR: //github.com/xantiagoma/dart_date/pull/2
1.0.6 #
- Improve documentation
- Add extension operators on DateTime and Duration
1.0.5 #
- same
1.0.4
1.0.4 #
pub.flutter-io.cnrecommendations
1.0.3 #
- Delete
thisif not needed and convert functions to=>if possible
1.0.2 #
dartfmtoverwriting
1.0.1 #
- Include recommendations from
pub.flutter-io.cn
1.0.0 #
- !!! Broken API related to 0.x versions
- Using new fancy dart extensions feature
- Use
.method()or.propertyto access extension methods / getters andDate.method()/Date.propertyfor new static properties.
0.0.9 #
- Changes
Date.parseto accept or not a format - Added
date.isFirstDayOfMonthgetter - Added
date.isLastDayOfMonthgetter - Added
date.isLeapYeargetter
0.0.8 #
- Adding documentation and timeago
date.timeago()