Skip to content

Releases: iamkun/dayjs

v1.9.1

28 Sep 12:37
Compare
Choose a tag to compare

1.9.1 (2020-09-28)

Bug Fixes

  • Fix objectSupport plugin to get the correct result (zero-based month) (#1089) (f95ac15)

v1.9.0

28 Sep 02:35
Compare
Choose a tag to compare

1.9.0 (2020-09-28)

Bug Fixes

Features

v1.8.36

17 Sep 09:31
Compare
Choose a tag to compare

1.8.36 (2020-09-17)

Bug Fixes

  • Add Amharic (am) locale (#1046) (cdc49a1)
  • Export Duration type in duration plugin (#1043) (0f20c3a)
  • Fix duration plugin parsing milliseconds bug (#1042) (fe2301b)
  • Timezone plugin set default timezone (#1033) (0c2050a)
  • Timezone plugin should have the same behavior in latest ICU version (#1032) (de31592)
  • Update Finnish (fi) locale (#963) (cf8b6a0)
  • Update Polish (pl) , Hungarian (hr) and Lithuanian (lt) localization (#1045) (638fd39)

v1.8.35

02 Sep 13:10
Compare
Choose a tag to compare

1.8.35 (2020-09-02)

Bug Fixes

  • Fix BadMutable plugin bug in .diff (#1023) (40ab6d9)
  • fix LocaleData plugin to support instance.weekdays() API (#1019) (a09d259), closes #1017
  • Update Dutch (nl) locale to set correct yearStart (1533a2c)

v1.8.34

20 Aug 03:30
Compare
Choose a tag to compare

1.8.34 (2020-08-20)

Bug Fixes

  • Fix Timezone plugin to preserve milliseconds while changing timezone (#1003) (5f446ed), closes #1002
  • support parsing unlimited decimals of millisecond (#1010) (d1bdd36), closes #544
  • update Duration plugin to support global locale (#1008) (1c49c83), closes #1007

v1.8.33

10 Aug 04:00
Compare
Choose a tag to compare

1.8.33 (2020-08-10)

Bug Fixes

  • Add PluralGetSet plugin for plural getters/setters (#996) (f76e3ce)
  • Add typescript type defs in esm build (#985) (50e3b3c)
  • Fix isoWeek Plugin cal bug in UTC mode (#993) (f2e5f32)
  • Fix Timezone plugin parsing js date, Day.js object, timestamp bug && update type file (#994) (22f3d49), closes #992 #989
  • Fix Timezone plugin UTCOffset rounding bug (#987) (b07182b), closes #986
  • Fix UTC plugin bug while comparing an utc instance to a local one (#995) (747c0fb)
  • Update pt-br locale weekStart 0 (#984) (0f881c1)

v1.8.32

04 Aug 09:38
Compare
Choose a tag to compare

1.8.32 (2020-08-04)

Bug Fixes

  • Add Experimental Timezone Plugin (#974) (e69caba)
  • fix parse date string error e.g. '2020/9/30' (#980) (231790d), closes #979
  • update monthDiff function to get more accurate results (19e8a7f)
  • Update UTC plugin to support keepLocalTime (#973) (9f488e5)

v1.8.31

29 Jul 02:53
Compare
Choose a tag to compare

1.8.31 (2020-07-29)

Bug Fixes

  • Rollback LocalePresetType to string (#968) (b342bd3)
  • Update Regex to parse 'YYYY' correctly (#969) (70c1239)

v1.8.30

22 Jul 02:33
Compare
Choose a tag to compare

1.8.30 (2020-07-22)

Bug Fixes

  • Add Haitian Creole (ht) and Spanish Puerto Rico (es-pr) locale configs (#958) (b2642e2)
  • Fix UTC plugin wrong hour bug while adding month or year (#957) (28ae070)
  • Update French (fr) locale to set correct yearStart (14ab808), closes #956

v1.8.29

02 Jul 15:01
Compare
Choose a tag to compare

1.8.29 (2020-07-02)

Bug Fixes

  • Duration plugin supports parse ISO string with week (W) (#950) (f0fc12a)
  • LocaleData plugin supports locale order (#938) (62f429d), closes #936
  • Update type definition to support array format (#945) (81d4740), closes #944
  • Update type definition to support strict mode (#951) (8d54f3f)