1.11.12 (2024-07-18)
- Add NegativeYear Plugin support (#2640) (6a42e0d)
- add UTC support to negativeYear plugin (#2692) (f3ef705)
- Fix zero offset issue when use tz with locale (#2532) (d0e6738)
- Improve typing for min/max plugin (#2573) (4fbe94a)
- timezone plugin correct parse UTC tz (#2693) (b575c81)
1.11.11 (2024-04-28)
- day of week type literal (#2630) (f68d73e)
- improve locale "zh-hk" format and meridiem (#2419) (a947a51)
- Update 'da' locale to match correct first week of year (#2592) (44b0936)
- update locale Bulgarian monthsShort Jan (#2538) (f0c9a41)
1.11.10 (2023-09-19)
- Add Korean Day of Month with ordinal (#2395) (dd55ee2)
- change back fa locale to the Gregorian calendar equivalent (#2411) (95e9458)
- duration plugin - MILLISECONDS_A_MONTH const calculation (#2362) (f0a0b54)
- duration plugin getter get result 0 instead of undefined (#2369) (061aa7e)
- fix isDayjs check logic (#2383) (5f3f878)
- fix timezone plugin to get correct locale setting (#2420) (4f45012)
- locale: add meridiem in
ar
locale (#2418) (361be5c) - round durations to millisecond precision for ISO string (#2367) (890a17a)
- sub-second precisions need to be rounded at the seconds field to avoid adding floats (#2377) (a9d7d03)
- update $x logic to avoid plugin error (#2429) (2254635)
- Update Slovenian locale for relative time (#2396) (5470a15)
- update uzbek language translation (#2327) (0a91056)
1.11.9 (2023-07-01)
- Add null to min and max plugin return type (#2355) (62d9042)
- check if null passed to objectSupport parser (#2175) (013968f)
- dayjs.diff improve performance (#2244) (33c80e1)
- dayjs(null) throws error, not return dayjs object as invalid date (#2334) (c79e2f5)
- objectSupport plugin causes an error when null is passed to dayjs function (closes #2277) (#2342) (89bf31c)
- Optimize format method (#2313) (1fe1b1d)
- update Duration plugin add/subtract take into account days in month (#2337) (3b1060f)
- update MinMax plugin 1. ignore the 'null' in args 2. return the only one arg (#2330) (3c2c6ee)
1.11.8 (2023-06-02)
- .format add padding to 'YYYY' (#2231) (00c223b)
- Added .valueOf method to Duration class (#2226) (9b4fcfd)
- timezone type mark
date
parameter as optional (#2222) (b87aa0e) - type file first parameter date is optional in isSame(), isBefore(), isAfter() (#2272) (4d56f3e)
1.11.7 (2022-12-06)
1.11.6 (2022-10-21)
- add BigIntSupport plugin (#2087) (f6dce48)
- Fix objectSupport collides with Duration plugin - issue #2027 (#2038) (c9370ea)
1.11.5 (2022-08-12)
1.11.4 (2022-07-19)
- correct past property in ku (kurdish) locale (#1916) (74e82b9)
- fix French [fr] local ordinal (#1932) (8f09834)
- fix objectSupport plugin ConfigTypeMap type (#1441) (#1990) (fd51fe4)
- fix type error to add ordianl property in InstanceLocaleDataReturn and GlobalLocaleDataReturn types (#1931) (526f0ae)
- update locale ar-* meridiem function (#1954) (3d31611)
- zh-tw / zh-hk locale ordinal error (#1976) (0a1bd08)
1.11.3 (2022-06-06)
- customParseFormat plugin to parse comma as a separator character (#1913) (41b1405)
- update Dutch [nl] locale ordinal (#1908) (5da98f8)
1.11.2 (2022-05-06)
- add OpUnitType (week) to quarterOfYear startOf/endOf types (#1865) (400bc3e)
- Fix type issue with ManipulateType (#1864) (d033dfc)
- fix UTC plugin .valueOf not taking DST into account (#1448) (27d1c50)
1.11.1 (2022-04-15)
- add Bengali (Bangladesh) [bn-bd] locale (#1806) (840ed76)
- refactor replace deprecated String.prototype.substr() (#1836) (627fa39)
- Update German [de] locale, adds the abbreviations for month including a . in the end, as in September -> Sept. (#1831) (4e2802c)
- update Italian (Switzerland) [it-ch] locale relativeTime (#1829) (8e6d11d)
- update Kurdish [ku] locale strings and formatted output contains non-standard kurdish characters (#1848) (a597d0b)
- update locale bo [Tibetan]: corrected the orders in formats (#1823) (e790516)
1.11.0 (2022-03-14)
- Add Kirundi (rn) locale (#1793) (74e5247)
- add missing date shorthand D type definition (#1752) (b045baf)
- Add relative time to Galician (gl) and fix ordinals (#1800) (dcbf170)
- update German locales (de-at, de-ch) (#1775) (f9055a7)
- update Icelandic [is] locale relativeTime config (#1796) (76f9e17)
- Update index.d.ts note (#1716) (5a108ff)
- Update locale German [de] monthsShort (#1746) (4a7b7d0)
- update meridiem function to Kurdish (ku) locale (#1725) (efd3904)
- update updateLocal plugin typescript types (#1692) (c7a3f73)
1.10.8 (2022-02-28)
1.10.7 (2021-09-10)
- Add Spanish (Mexico) [es-mx] locale (#1614) (3393f2a)
- Add Arabic (Iraq) [ar-iq] locale (#1627) (b5a1391)
- add format object type to type file (#1572) (5a79cc6)
- duration plugin when parsing duration from ISO string, set missing components to 0 instead of NaN (#1611) (252585b)
- narrow type for
add
andsubtract
(#1576) (1686962) - update customParseFormat plugin strict x X parsing (#1571) (08adda5)
- update Lithuanian [lt] locale spelling for single month (#1609) (255dc54)
- Update Norwegian Bokmål [nb] local yearStart 4 (#1608) (7a8467c)
- update plugin advancedFormat
isValid
validation (#1566) (755fc8b) - update Sinhalese [si] locale month name (#1475) (63de2a8)
- update utcOffset plugin type file (#1604) (f68e4b1)
1.10.6 (2021-07-06)
- add invalid date string override (#1465) (#1470) (06f88f4)
- add sv-fi Finland Swedish locale (#1522) (8e32164)
- customParseFormat support parsing X x timestamp (#1567) (eb087f5)
- dayjs ConfigTypeMap add null & undefined (#1560) (b5e40e6)
- Fix DayOfYear plugin when using BadMutable plugin (#1511) (0b0c6a3)
- Implement ordinal in Bulgarian translation (fixes #1501) (#1502) (b728da5)
- more strict delimiter in REGEX_PARSE (#1555) (bfdab5c)
- parameter type (#1549) (f369844)
- update customParseFormat plugin to custom two-digit year parse function (#1421) (bb5df55)
- update names of weekdays and months in Bulgarian [bg] to lowercase (#1438) (b246210)
- update type file
.diff
(#1505) (6508494) - update UTC plugin type file for strict parsing (#1443) (b4f28df)
1.10.5 (2021-05-26)
- add meridiem in ar locales (#1375) (319f616)
- Added Zulu support to customParseFormat (#1359) (1138a3f)
- fix Bengali [bn] locale monthsShort error (a0e6c0c)
- fix missing types for ArraySupport plugin (#1401) (b1abdc4)
- fix Ukrainian [uk] locale (#1463) (0fdac93)
- hotfix for
Duration
types (#1357) (855b7b3), closes #1354 - timezone plugin DST error (#1352) (71bed15)
- Update duration plugin change string to number (#1394) (e1546d1)
- update Duration plugin to support no-argument (#1400) (8d9a5ae)
- Update Finnish [fi] locale to set yearStart (#1378) (f3370bd)
- update Russian [ru] locale meridiem and unit tests (#1403) (f10f39d)
- update Russian [ru] locale yearStart config (#1372) (5052515)
- update Slovenian [sl] locale to set correct ordinal (#1386) (cb4f746)
- update Spanish [es] locale to change month names to lowercase (#1414) (9c20e77)
- update Swedish [sv] locale to set correct yearStart (#1385) (66c5935)
- update UTC plugin to support string argument like +HH:mm (#1395) (656127c)
1.10.4 (2021-01-22)
- Correct handling negative duration (#1317) (3f5c085)
- Improve
Duration
types (#1338) (4aca4b1) - parse a string for MMM month format with underscore delimiter (#1349) (82ef9a3)
- Update Bengali [bn] locale (#1329) (02d96ec)
- update locale Portuguese [pt] yearStart (#1345) (5c785d5)
- update Polish [pl] locale yearStart (#1348) (e93e6b8)
- Update Slovenian [sl] relativeTime locale (#1333) (fe5f1d0)
1.10.3 (2021-01-09)
- fix customParseFormat plugin strict mode parse meridiem bug (#1321) (e49eeef)
- fix weekYear plugin missing locale bug (#1319) (344bdc0), closes #1304
- update advancedFormat plugin to add format options for iso week and weekyear (#1309) (2c54c64)
- update devHelper to add dev warning setting locale before loading (c5cc893)
- update German [de] locale yearStart (1858df8), closes #1264
1.10.2 (2021-01-05)
- fix parse regex bug (#1307) (db2b6a5), closes #1305
- remove module entry in package.json to revert 1.10.1 change (#1314) (824dcb8)
- update devHelper add warning "passing Year as a Number will be parsed as a Unix timestamp" (#1315) (b0dda31)
1.10.1 (2021-01-03)
1.10.0 (2021-01-03)
- add ordinal to localeData plugin (#1266) (fd229fa)
- add preParsePostFormat plugin & update Arabic [ar] locale (#1255) (f2e4790)
- add type support for plural forms of units (#1289) (de49bb1)
- escape last period to match only milliseconds (#1239) (#1295) (64037e6)
- add ES6 Module Support, package.json module point to "esm/index.js" (#1298) (f63375d), closes #598 #313
1.9.8 (2020-12-27)
- fix Ukrainian [uk] locale typo (1605cc0)
- update Hebrew [he] locale for double units (#1287) (1c4b0da)
- update zh locale meridiem "noon" (0e7ff3d)
- update zh-cn locale definition of noon (#1278) (d5930b9)
1.9.7 (2020-12-05)
- add duration.format to format a Duration (#1202) (9a859a1)
- Add function handling for relativeTime.future and relativeTime.past (#1197) (ef1979c)
- avoid install installed plugin (#1214) (a92eb6c)
- avoid memory leak after installing a plugin too many times (b8d2e32)
- fix diff bug when UTC plugin enabled (#1201) (9544ed2), closes #1200
- fix startOf/endOf bug in timezone plugin (#1229) (eb5fbc4)
- fix utc plugin diff edge case (#1187) (971b3d4)
- update customParseFormat plugin to parse 2-digit offset (#1209) (b56936a), closes #1205
- Update timezone plugin type definition (#1221) (34cfb92)
1.9.6 (2020-11-10)
- fix customParseFormat plugin parsing date bug (#1198) (50f05ad), closes #1194
- Update lv (Latvian) locale relative time (#1192) (6d6c684)
1.9.5 (2020-11-05)
- customParseFormat plugin supports parsing localizedFormats (#1110) (402b603)
- fix customParseFormat plugin parse meridiem bug (#1169) (9e8f8d9), closes #1168
- fix devHelper error in umd bundle in browser (#1165) (d11b5ee)
- fix utc plugin diff bug in DST (#1171) (f8da3fe), closes #1097 #1021
- isoWeek plugin type (#1177) (c3d0436)
- update localeData plugin to support meridiem (#1174) (fdb09e4), closes #1172
- update timezone plugin parse Date instance / timestamp logic & remove useless test (#1183) (a7f858b)
1.9.4 (2020-10-23)
- Add descriptions to types (#1148) (9a407a1)
- add devHelper plugin (#1163) (de49dc8)
- Fix Hungarian (hu) locale (#1112) (ab13754)
- fix minMax plugin parsing empty array bug (#1062) (368108b)
- update adding/subtracting Duration from Dayjs object (#1156) (f861aca)
- update en-NZ locale to use proper ordinal formatting function (#1143) (fcdbc58)
- update localeData plugin type (#1116) (ee5a4ec)
- update timezone plugin to support custom parse format (#1160) (48cbf31), closes #1159
- update timezone plugin to support keepLocalTime (#1161) (1d429e5), closes #1149
1.9.3 (2020-10-13)
1.9.2 (2020-10-13)
- add arraySupport plugin (#1129) (be505c2)
- export type of duration plugin (#1094) (2c92e71)
- Fix LocaleData plugin longDateFormat lowercase error (#1101) (7937ccd)
- Fix objectSupport plugin bug in UTC (#1107) (fe90bb6), closes #1105
- fix Serbian locale grammar (sr, sr-cyrl) (#1108) (cc87eff)
- Fix typo for "monday" in arabic (#1067) (2e1e426)
- support dayjs.add(Duration), dayjs.subtract(Duration) (#1099) (b1a0294)
- update Breton [br] locale relativeTime config (#1103) (b038bfd)
- update Catalan [ca] locale ordinal (73da380)
- update German [de] locale relativeTime config (#1109) (f6e771b)
- update localeData plugin to add longDateFormat to global localeData (#1106) (16937d1)
- Update objectSupport plugin to return current date time while parsing empty object (f56783e)
1.9.1 (2020-09-28)
1.9.0 (2020-09-28)
- Add
setDefault
typing to timezone.d.ts (#1057) (c0f0886) - fix DST bug in utc plugin (#1053) (3d73543)
- Fix optional type for timezone plugin (#1081) (a6ebcf2), closes #1079
- Fix timezone plugin conversion bug (#1073) (16816a3)
- update duration plugin type file (#1065) (94af9af)
- update timezone plugin to support getting offset name e.g. EST (#1069) (cbb755e)
- update utc plugin to support keepLocalTime
.utc(true)
(#1080) (5ce4e0d)
1.8.36 (2020-09-17)
- 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)
1.8.35 (2020-09-02)
- 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)
1.8.34 (2020-08-20)
- 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
1.8.33 (2020-08-10)
- 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)
1.8.32 (2020-08-04)
- 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)
1.8.31 (2020-07-29)
- Rollback LocalePresetType to string (#968) (b342bd3)
- Update Regex to parse 'YYYY' correctly (#969) (70c1239)
1.8.30 (2020-07-22)
- 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
1.8.29 (2020-07-02)
- 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)
1.8.28 (2020-05-28)
- Fix CustomParseFormat plugin month index error (#918) (fa2ec7f), closes #915
- Update Ukrainian (uk) locale monthFormat and monthStandalone (#899) (a08756e)
1.8.27 (2020-05-14)
- Add Kinyarwanda (rw) locale (#903) (f355235)
- Add plugin objectSupport (#887) (52dfb13)
- Add Turkmen (tk) locale (#893) (a9ca8dc)
- Fix CustomParseFormat plugin set locale error (#896) (8035c8a)
- Fix locale month function bug (#908) (bf347c3)
- Update CustomParseFormat plugin to support Array formats (#906) (97856c6)
1.8.26 (2020-04-30)
- Fix Duration plugin
.toISOString
format bug (#889) (058d624), closes #888 - Fix WeekOfYear plugin bug while using BadMutable plugin (#884) (2977438)
- Update CustomParseFormat plugin strict mode (#882) (db642ac)
- Update RelativeTime plugin default config (#883) (0606f42)
1.8.25 (2020-04-21)
- Fix CustomParseFormat plugin of parsing only YYYY / YYYY-MM bug (#873) (3cea04d), closes #849
- Fix Duration plugin get seconds (#867) (62b092d)
- Fix type definition of locale (9790b85)
- Fix UTC plugin startOf, endOf bug (#872) (4141084), closes #809 #808
1.8.24 (2020-04-10)
- Add config option to RelativeTime plugin (#851) (bd24034)
- add Duration plugin (#858) (d568273)
- Add en-in, en-tt locales (#855) (c39fb96)
- add isToday, isTomorrow, isYesterday plugins (#857) (fc08ab6)
- Add option callback to Calendar plugin (#839) (b25be90)
- Fix monthsShort for locale fr (#862) (d2de9a0)
- Update Breton locale (br) meridiem config (#856) (a2a6672)
- Update Ukrainian (uk) locale relative time (#842) (578bc1a)
1.8.23 (2020-03-16)
- Add Chinese (zh) locale (f9b8945)
- Fix IsoWeek plugin typescript definition (#828) (30aab0c)
- Update Arabic (ar) locale relative time (#836) (14044c6)
- Update Slovak (sk) locale, Czech (cs) locale (#833) (f0d451f)
- Update Thai (th) locale relativeTime (#826) (63b7c03), closes #816
1.8.22 (2020-03-08)
- Add IsoWeek plugin (#811) (28a2207)
- Fix unsupported locale fallback to previous one (#819) (4868715)
1.8.21 (2020-02-26)
- Set + Get accept 'D' as the short version of 'date' (#795) (523c038)
- Update DayOfYear plugin type (#799) (5809652)
- Update fi (Finnish) locale relativeTime (#797) (4a470fb)
1.8.20 (2020-02-04)
- 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)
- 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)
- Add missing locale type definition (#716) (cde5d0b)
- Fix .locale() handel unsupported locale (78ec173)
- Update Italian locale (it) (#727) (5b53e98)
- Update locale (fa) (#733) (9ad2e47)
- Update locale (zh-cn) (#706) (e31e544)
- Update locale (zh-cn) meridiem (#735) (15d1b81)
- Update LocaleData plugin to support dayjs().longDateFormat() (#734) (aa0f210), closes #680
- Update Mongolian (mn) locale relativeTime (#753) (6d51435)
- Update Swedish locale (sv) fix ordinal error (#745) (49670d5), closes #743
1.8.17 (2019-11-06)
- Fix set utcOffset in utc mode (d148115)
- Update advancedFormat plugin to support w ww wo week tokens … (#678) (26cfa63), closes #676
- Update ka locale weekdays (f8ca3d4)
- Update nb locale (#679) (1063b0e)
- Update Polish locale (pl)(#713) (30d2f02)
- Update Ukrainian locale (uk) (#710) (360161c)
- UTC plugin set utcOffset value (#668) (8877883)
1.8.16 (2019-08-27)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
For plugin developers: Please note, we have changed the name of some method in
Utils
in order to reduce the file size. (#517) (detail)
1.8.8 (2019-02-25)
- Update relativeTime plugin type definition (de56f2c)
1.8.7 (2019-02-24)
- 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)
- 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)
- 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)
- 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)
1.8.2 (2019-02-02)
- 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, justimport from dayjs from 'dayjs'
- add ES2015 module support (#451)
1.8.0 (2019-01-14)
1.7.8 (2018-12-13)
-
update isSame isBefore isAfter supports units (fd65464)
-
add greek lithuanian locales
1.7.7 (2018-09-26)
1.7.6 (2018-09-25)
- add dayjs.unix: add dayjs.unix to parse timestamp in seconds && locale update (5711c5e)
1.7.5 (2018-08-10)
- add isBetween API & update (b5fc3d1)
1.7.4 (2018-07-11)
1.7.3 (2018-07-10)
- locale-nl: set correct weekdays and months (6d089d7)
1.7.2 (2018-07-04)
- DEPRECATED isLeapYear, use IsLeapYear plugin instead (e2e5116)
1.7.1 (2018-07-03)
- fix week() error near the end of the year (fa03689)
1.7.0 (2018-07-02)
- Added method
.week()
to retrieve week of the year (e1c1b1c) - Updated Japanese locae
1.6.10 (2018-06-25)
1.6.9 (2018-06-14)
- add isDayjs => boolean API (6227c8b)
1.6.8 (2018-06-14)
1.6.7 (2018-06-11)
1.6.6 (2018-06-06)
1.6.5 (2018-05-31)
1.6.4 (2018-05-25)
1.6.3 (2018-05-21)
- 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)
1.6.1 (2018-05-18)
- Add German, Brazilian Portuguese locales
- add() & parse() bug fix & add locale de, pt-br (bf1331e)