Skip to content

Latest commit

 

History

History
399 lines (232 loc) · 24.6 KB

CHANGELOG.md

File metadata and controls

399 lines (232 loc) · 24.6 KB

1.8.20 (2020-02-04)

Bug Fixes

  • Add Bislama Locale (bi) (#780) (9ac6ab4)
  • Fix weekOfYear plugin to support yearStart locale for better week number result (#769) (f00db36)
  • Update et (Estonian) locale relativeTime (#790) (d8e0f45)
  • Update LocaleData plugin to support dayjs.localeData().weekdays() API (287fed6), closes #779
  • Update LocaleData plugin to support dayjs.months dayjs.weekdays API (144c2ae), closes #779
  • Update pl locale fusional config (d372475)

1.8.19 (2020-01-06)

Bug Fixes

  • Add UpdateLocale plugin to update a locale's properties (#766) (82ce2ba)
  • Fix CustomParseFormat Plugin 'YYYY-MM' use first day of the month (ba709ec), closes #761
  • Fix CustomParseFormat Plugin to set correct locale (66ce23f)
  • Fix WeekOfYear Plugin wrong calender week number bug (79b86db), closes #760
  • Update RelativeTime plugin to support function to make additional processing (#767) (4bd9250)
  • Update ru, uk, cs locale to support relativeTime with plural (3f080f7)

1.8.18 (2019-12-18)

Bug Fixes

1.8.17 (2019-11-06)

Bug Fixes

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)

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)

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)

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)

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)

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)

1.8.10 (2019-03-10)

Bug Fixes

  • locale: 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)

1.8.9 (2019-03-06)

Features

For plugin developers: Please note, we have changed the name of some method in Utils in order to reduce the file size. (#517) (detail)

Bug Fixes

1.8.8 (2019-02-25)

Bug Fixes

  • Update relativeTime plugin type definition (de56f2c)

1.8.7 (2019-02-24)

Bug Fixes

  • Add plugin type definitions (#418) (361d437)
  • Add Swahili locale (#508) (b9cee84)
  • Parse month string 'MMMM MMM (February, Feb)' in customParseFormat (#457) (f343206)
  • Update declaration file .diff .isBefore .isSame .isAfter (#496) (4523275)
  • Word orders corrections for locale 'fa' (#491) (56050c2)

1.8.6 (2019-02-14)

Bug Fixes

  • Add Bahasa Melayu (Malaysia) locale (#485) (cb208b0)
  • Copy & export built-in en locale to /locale folder as a separate file (a7e05e0)
  • Fix bug in customParseFormat plugin while month(MM) is '01' (9884ca5), closes #494
  • Fix startOf week bug while week start is not Sunday (5eaf77b)
  • Implemented isBetween inclusivity (#464) (af2f4f1)
  • Update Swedish and Finnish locales (#488) (f142082)
  • Fix commonJS require ES Module bug in webpack4 (23f9f3d), check #492

Get access to ESM code with import dayjs from 'dayjs/esm'

1.8.5 (2019-02-07)

Bug Fixes

  • Add en-gb locale (#478) (508c3a7)
  • module: transpile everything except ES6 modules in the 'module' entrypoint (#477) (#480) (#482) (767017d)
  • update customParseFormat plugin support hh:mm (54947cc), closes #484
  • Update module in package.json (5c5a7a0)

1.8.4 (2019-02-05)

  • Allow set start day of week in locale && Allow set week in weekOfYear plugin (1295591)

Bug Fixes

  • update all locale files with correct week start (5b03412)
  • update es es-do locale adding weekStart && update weekStart test (66e42ec)
  • Revert default export (b00da1b)

1.8.3 (2019-02-04)

Bug Fixes

  • fix ios safari YYYY-MM-DD HH:mm parse BUG (e02ae82), closes #254

1.8.2 (2019-02-02)

Bug Fixes

  • Add missing czech language locale (#461) (7e04004)
  • Add utcOffset api method and fix calculating diff error in DST (#453) (ce2e30e)
  • Fix it locale error (#458) (f6d9a64)
  • Add DayOfYear plugin (#454)
  • Fix es locale monthsShort error

1.8.1 (2019-02-02)

  • Add LocalizedFormat plugin supplying format like LTS, LT, LLLL

  • update declaration File with default export (#278)

From v1.8.1, in TypeScript Project, just import from dayjs from 'dayjs'

  • add ES2015 module support (#451)

Performance Improvements

  • format: reuse matches instead of created when replacing (#441) (10b79d8)

1.8.0 (2019-01-14)

Features

  • add CustomParseFormat plugin and QuarterOfYear plugin (#450) (8f6f63c)

1.7.8 (2018-12-13)

Feature

  • update isSame isBefore isAfter supports units (fd65464)

  • add greek lithuanian locales

1.7.7 (2018-09-26)

Bug Fixes

  • DST: fix daylight saving time DST bug && add test (#354) (6fca6d5)

1.7.6 (2018-09-25)

Bug Fixes

  • add dayjs.unix: add dayjs.unix to parse timestamp in seconds && locale update (5711c5e)

1.7.5 (2018-08-10)

Bug Fixes

  • add isBetween API & update (b5fc3d1)

1.7.4 (2018-07-11)

Bug Fixes

1.7.3 (2018-07-10)

Bug Fixes

  • locale-nl: set correct weekdays and months (6d089d7)

1.7.2 (2018-07-04)

Bug Fixes

  • DEPRECATED isLeapYear, use IsLeapYear plugin instead (e2e5116)

1.7.1 (2018-07-03)

Bug Fixes

  • fix week() error near the end of the year (fa03689)

1.7.0 (2018-07-02)

Features

  • Added method .week() to retrieve week of the year (e1c1b1c)
  • Updated Japanese locae

1.6.10 (2018-06-25)

Bug Fixes

  • Add relative locales to russian language (c7e9898), closes #256

1.6.9 (2018-06-14)

Bug Fixes

  • add isDayjs => boolean API (6227c8b)

1.6.8 (2018-06-14)

Bug Fixes

  • fix Advanced format bug in zh-cn (0c07874), closes #242

1.6.7 (2018-06-11)

Bug Fixes

1.6.6 (2018-06-06)

Bug Fixes

  • format API update and locale file update (5ca48f0), closes #228

1.6.5 (2018-05-31)

Bug Fixes

  • bugfix, utils update and locale file update (ebcb6d5), closes #214

1.6.4 (2018-05-25)

Bug Fixes

  • add RelativeTime plugin and locale file update (c1fbbca), closes #198

1.6.3 (2018-05-21)

Bug Fixes

  • Changing locales locally is immutable from this release (2cce729), closes #182
  • instance locale change should be immutable (84597c9)
  • Add more locales
  • english ordinal fix

1.6.2 (2018-05-18)

Bug Fixes

  • change-log update && test new npm release (aa49cba), closes #163

1.6.1 (2018-05-18)

Bug Fixes

  • Add German, Brazilian Portuguese locales
  • add() & parse() bug fix & add locale de, pt-br (bf1331e)

1.6.0 (2018-05-15)

Features