Releases: github/relative-time-element
Releases · github/relative-time-element
v4.4.0
What's Changed
- Bump ip from 1.1.8 to 1.1.9 by @dependabot in #274
- update lockfile to v3 by @keithamus in #278
- Express "0 precision-units away" appropriately for the precision. by @jyasskin in #280
New Contributors
Full Changelog: v4.3.1...v4.4.0
v4.3.1
What's Changed
- Fixing typos by @deining in #264
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #265
- round years using calendar years only by @keithamus in #271
New Contributors
Full Changelog: v4.3.0...v4.3.1
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