Skip to content

Releases: sadespresso/moment_dart

5.3.0

Choose a tag to compare

@sadespresso sadespresso released this 02 Oct 03:51
f601bae

What's Changed

New Contributors

Full Changelog: 5.2.2...5.3.0

5.2.2

Choose a tag to compare

@sadespresso sadespresso released this 25 Apr 08:48
c4962a9

What's Changed

  • Arabic localization by @Ultrate in #43
  • Added TimeRange.intersect(other) (You can also turn a.intersect(b) as a & b)
  • Added TimeRange.toCustom() and TimeRange.asCustom

New Contributors

Full Changelog: 5.0.1...5.2.2

5.0.1

Choose a tag to compare

@sadespresso sadespresso released this 05 Apr 10:03
985e11e

What's Changed

  • Clamped setters - set of functions that clamps the value to prevent DateTime's default overflowing.
  • All time ranges' to property is now inclusive (except local/iso week and CustomTimeRange, cause they were inclusive already)
  • This also means DayTimeRange(...).duration will now return exactly 1 less microsecond.

I am sorry for this change.

Full Changelog: 4.1.0...5.0.1

4.1.0

Choose a tag to compare

@sadespresso sadespresso released this 28 Mar 05:53
f4024df

What's Changed

Full Changelog: 4.0.1...4.1.0

4.0.1

Choose a tag to compare

@sadespresso sadespresso released this 01 Mar 07:26
40b8830

What's Changed

  • [BREAKING] TimeRange month translation now includes the year, but year is omitted when useRelative is true and anchor.year is same as the range year
  • Added Moment.minValueUtc and Moment.maxValueUtc
  • Fixed Moment.minValue and Moment.maxValue overflowing
  • Updated docs

Full Changelog: 3.1.0...4.0.1

3.3.1

Choose a tag to compare

@sadespresso sadespresso released this 25 Jan 09:28

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

Choose a tag to compare

@sadespresso sadespresso released this 24 Jan 00:52

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

Choose a tag to compare

@sadespresso sadespresso released this 16 Jan 08:54

Full Changelog: 3.2.0...3.2.1

3.2.0

Choose a tag to compare

@sadespresso sadespresso released this 16 Jan 08:40
ffa2486

What's Changed

Full Changelog: 2.2.0...3.2.0

3.1.0

Choose a tag to compare

@sadespresso sadespresso released this 16 Jan 08:40
12173e0

What's Changed

  • TimeRange now has a unit property that returns its corresponding
    DurationUnit type if available.

Full Changelog: 3.0.0...3.1.0