Releases: sadespresso/moment_dart
Releases · sadespresso/moment_dart
4.0.1
What's Changed
- [BREAKING]
TimeRange
month translation now includes the year, but year is omitted whenuseRelative
is true andanchor.year
is same as the range year - Added
Moment.minValueUtc
andMoment.maxValueUtc
- Fixed
Moment.minValue
andMoment.maxValue
overflowing - Updated docs
Full Changelog: 3.1.0...4.0.1
3.3.1
What's new
- Fixed MonthTimeRange.format() would return "This month" for different year's same month
Full Changelog: 3.3.0...3.3.1
3.3.0
What's new
- Pageable TImeRange's
next
,last
no longer generated invalid value (e.g., month 12, day 32, etc..)
Full Changelog: 3.2.1...3.3.0
3.2.1
Full Changelog: 3.2.0...3.2.1
3.2.0
3.1.0
What's Changed
TimeRange
now has aunit
property that returns its corresponding
DurationUnit type if available.
Full Changelog: 3.0.0...3.1.0
3.0.0
What's Changed
This release has breaking changes!
- Changed
TimeRange.toString()
delimiter to@
- Fixed CustomTimeRange not being able to be parsed
- Added
.encode()
and.encodeShort()
methods onTimeRange
- Added
TimeRange.fromStartAndDuration
constructor
Full Changelog: 2.1.0...3.0.0
2.2.1+beta.0
What's Changed
TimeRange
readable format beta. Call.format()
on TimeRange objects.
Absolutely not tested :D
Full Changelog: 2.2.0...2.2.1+beta.0
2.2.0
What's Changed
- fix #19, .endOf(DurationUnit.week) was incorrectly returning 7 days ahead by @sadespresso in #20
- Renamed
DateTime.to
to.rangeTo
for clarity. Old method will be removed on the next - Added
Moment.maxValue
andMoment.minValue.
For example, now you can useCustomTimeRange(now, Moment.maxValue)
orepoch.to(Moment.maxValue)
Full Changelog: 2.1.0...2.2.0
2.1.0
What's changed
- Fixed
LocalWeekTimeRange
andIsoWeekTimeRange
'sto
being 1 microsecond ahead - Now you can parse/serialize
TimeRange
by callingTimeRange.parse()
andTimeRange.toString()