Skip to content

Releases: github/relative-time-element

v4.2.2

07 Mar 17:48
135eaec
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.2.1...v4.2.2

v4.2.1

07 Feb 14:58
244af66
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.2.0...v4.2.1

v4.2.0

02 Feb 16:19
cce3194
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.1.6...v4.2.0

v4.1.6

02 Feb 15:57
9302a83
Compare
Choose a tag to compare
  • This release uses calendar months and years when balancing rounding of relative dates to a single unit. For example some displays that used to say "last year" will now more accurately say "2 years ago".

  • The year setter had a bug in which it was setting the day. Using .year = will now properly set the year.

What's Changed

New Contributors

Full Changelog: v4.1.5...v4.1.6

v4.1.5

16 Dec 20:55
220c8b9
Compare
Choose a tag to compare

What's Changed

  • allow opting out of months and weekdays on datetime format by @keithamus in #237

Full Changelog: v4.1.4...v4.1.5

v4.1.4

16 Dec 15:07
5d5e35a
Compare
Choose a tag to compare

What's Changed

  • avoid throwing errors for empty lang attributes by @keithamus in #235

Full Changelog: v4.1.3...v4.1.4

v4.1.3

16 Dec 09:02
fdba0e7
Compare
Choose a tag to compare

What's Changed

  • fix: fixes examples include to relative-time-element by @rafaeliga in #233
  • Increase rounding rules in roundToSingleUnit to 90% of the next largest unit by @keithamus in #234

New Contributors

Full Changelog: v4.1.2...v4.1.3

v4.1.2

14 Dec 08:47
60a8953
Compare
Choose a tag to compare

Full Changelog: v4.1.1...v4.1.2

v4.1.1

13 Dec 23:21
5810326
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.1.0...v4.1.1

v4.1.0

09 Dec 11:45
4ab3f28
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.0...v4.1.0