Skip to content

Releases: iamkun/dayjs

v1.8.18

18 Dec 06:19
Compare
Choose a tag to compare

1.8.18 (2019-12-18)

Bug Fixes

v1.8.17

06 Nov 06:40
Compare
Choose a tag to compare

1.8.17 (2019-11-06)

Bug Fixes

v1.8.16

27 Aug 06:22
Compare
Choose a tag to compare

1.8.16 (2019-08-27)

Bug Fixes

  • Fix relativeTime Plugin .FromNow() result error in UTC mode (a385d5c)
  • Handle locale in WeekOfYear plugin (#658) (0e45b0a)
  • LocaleData plugin returns all months and weekdays data when pas no argument (#645) (95e70b4)
  • Return null in toJSON if not valid (#633) (19affc8)
  • Update Danish (da) locale (#626) (ac2ec77)
  • Update Korean locale meridiem (#642) (b457146)
  • update Occitan locale Catalan locale (#630) (fef135e)
  • update pt-br locale (#628) (ccf596d)
  • Update weekdaysShort to some locale files (#643) (cc1f15f)

v1.8.15

08 Jul 14:30
Compare
Choose a tag to compare

1.8.15 (2019-07-08)

Bug Fixes

  • Fix dayjs.locale() returns current global locale (#602) (790cd1a)
  • Fix incorrect Thai locale translation of July (#607) (43cbfd3)
  • Lowercase french locale months and weekdays (#615) (e5a257c)
  • Type - Export Ls object to query all available locales (#623) (f6bfae0)
  • Update nb (Norsk Bokmål) locale (#604) (907f5c9)
  • Update types of .diff API (#617) (f0f43d2)

v1.8.14

07 May 18:43
Compare
Choose a tag to compare

1.8.14 (2019-05-07)

Bug Fixes

  • Fix .format API returns UTC offset when value is 0 bug (b254964)
  • Fix QuarterOfYear plugin bug (#591) (434f774)
  • Fix UTC plugin add day DST bug (#590) (86cd839)

v1.8.13

26 Apr 15:18
Compare
Choose a tag to compare

1.8.13 (2019-04-26)

Bug Fixes

  • Add missing relativeTime and formats for some locales (#560) (96b917e)
  • Add weekday (locale aware day of the week) plugin (#569) (9007cc5), closes #559
  • Allow customizing "am" / "pm" strings with locale meridiem function (#580) (576e93e), closes #578
  • Fix .add day/week decimal rouding bug (800f6c9)
  • Fix .diff type definition error (#565) (c4921ae), closes #561
  • Fix CustomParseFormat plugin bug (#568) (1f5a9db), closes #555
  • Fix relativeTime plugin Math.round bug (40bea40)
  • skip square brackets in buddhistEra, advancedFormat plugins (#556) (9279718), closes #554
  • Update Indonesian locale(#574) (0aa7143)
  • Update locale month to support both array and function (#581) (b6599d3)
  • Update LocalizedFormat plugin lowercase formats logic (#557) (d409304)

v1.8.12

02 Apr 10:09
Compare
Choose a tag to compare

1.8.12 (2019-04-02)

Bug Fixes

  • Add .get API (7318797)
  • Add 79 locales (#541) (f75a125)
  • Add Calendar plugin (d1b9cf9)
  • Add isoWeeksInYear plugin (2db8631)
  • Add Occitan (oc-lnc) locale file (#551) (c30b715)
  • Add plugin minMax to sopport .max .min (2870a23)
  • Fix set Month Year error in last day of the month (d058f4a)
  • Update ko locale weekdaysShort (#543) (317fd3e)
  • Update localizedFormat plugin to support lowercase localizable formats (l, ll, lll, llll) (#546) (f2b5ebf)

v1.8.11

21 Mar 04:54
Compare
Choose a tag to compare

1.8.11 (2019-03-21)

Bug Fixes

  • Add .add('quarter') .startOf('quarter') through plugin quarterOfYear (dde39e9), closes #537 #531
  • Add locale support for Azerbaijani language (az) (#535) (eeb20fa)
  • Correct typescript definition add (22a249c), closes #531
  • Fix CustomParseFormat plugin formatting bug (#536) (8578546), closes #533
  • Update pt locale (#538) (1ac9e1e)

v1.8.10

10 Mar 12:54
Compare
Choose a tag to compare

1.8.10 (2019-03-10)

Bug Fixes

  • Add nepali (ne) locale (#524) (bdbec01)
  • Add WeekYear plugin (a892608)
  • API .locale() with no argument should return current locale name string (8d63d88)
  • CustomParseFormat correct parse HH:mm:ss with only one digit like 0:12:10 (600d547)
  • CustomParseFormat plugin parse Do format string (bf27fda), closes #522
  • Expand setters like .year(2000) .hour(12) (ac532a0)
  • Move toObject, toArray API to separate plugin from core (40a3431)

v1.8.9

06 Mar 08:45
Compare
Choose a tag to compare

1.8.9 (2019-03-06)

Bug Fixes