Releases: github/relative-time-element
Releases · github/relative-time-element
v4.3.0
What's Changed
- add define static method by @keithamus in #257
- Upgrade devdeps by @keithamus in #258
Full Changelog: v4.2.4...v4.3.0
v4.2.4
What's Changed
- fix aggressive compression of hours into a single day by @keithamus in #254
Full Changelog: v4.2.3...v4.2.4
v4.2.3
Full Changelog: v4.2.2...v4.2.3
v4.2.2
What's Changed
- Update to use latest npm CLI release by @feelepxyz in #251
- fix: fixes round to string unit by @zbinlin in #253
New Contributors
- @feelepxyz made their first contribution in #251
- @zbinlin made their first contribution in #253
Full Changelog: v4.2.1...v4.2.2
v4.2.1
What's Changed
- tweak rounding rules for months by @keithamus in #249
Full Changelog: v4.2.0...v4.2.1
v4.2.0
What's Changed
- Add onrelativetimeupdated getter by @keithamus in #246
Full Changelog: v4.1.6...v4.2.0
v4.1.6
-
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
- Update README.md by @AlphaRomeoMike in #239
- Update README.md by @AlphaRomeoMike in #240
- Year setter typo by @idlewan in #242
- Bump json5 from 1.0.1 to 1.0.2 by @dependabot in #241
- Bump ua-parser-js from 1.0.32 to 1.0.33 by @dependabot in #244
- update rounding rules for months/years in Duration by @keithamus in #245
New Contributors
- @AlphaRomeoMike made their first contribution in #239
- @idlewan made their first contribution in #242
Full Changelog: v4.1.5...v4.1.6
v4.1.5
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
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
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
- @rafaeliga made their first contribution in #233
Full Changelog: v4.1.2...v4.1.3