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