⏰Day.js 2kB超轻量时间库 和Moment.js一样的API
⏰Day.js 2kB超轻量时间库 和Moment.js一样的API
v1.9.7
1.9.7 (2020-12-05)
Bug Fixes
- 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)
Assets
2
v1.9.6
v1.9.5
1.9.5 (2020-11-05)
Bug Fixes
- 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)
Assets
2
v1.9.4
1.9.4 (2020-10-23)
Bug Fixes
- 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
Assets
2
v1.9.1
v1.8.36
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)
Assets
2
v1.8.35
v1.8.33
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)
Assets
2
v1.8.31
v1.8.30
v1.8.28
v1.8.27
1.8.27 (2020-05-14)
Bug Fixes
- 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)
Assets
2
v1.8.26
v1.8.25
v1.8.24
1.8.24 (2020-04-10)
Bug Fixes
- 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)
Assets
2
v1.8.23
v1.8.22
v1.8.20
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)
Assets
2
v1.8.19
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)
Assets
2
v1.8.18
1.8.18 (2019-12-18)
Bug Fixes
- 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
Assets
2
v1.8.17
1.8.17 (2019-11-06)
Bug Fixes
- 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)
Assets
2
v1.8.16
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)
Assets
2
v1.8.15
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)
Assets
2
v1.8.13
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)
Assets
2
v1.8.12
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)
Assets
2
v1.8.11
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)
Assets
2
v1.8.10
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)
Assets
2
v1.8.9
v1.8.6
Assets
2
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 commonJS require ES Module bug in webpack4 (23f9f3d)
- Fix startOf week bug while week start is not Sunday (5eaf77b)
- Implemented isBetween inclusivity (#464) (af2f4f1)
- Update Swedish and Finnish locales (#488) (f142082)
v1.8.5
Assets
2
v1.8.0
Assets
2
v1.6.5
v1.6.5
iamkun released this
v1.6.3
v1.6.3
iamkun released this
热门度与活跃度
9.0
10.0
Watchers:302 |
Star:33278 |
Fork:1589 |
创建时间: 2018-04-10 17:26:44 |
最后Commits: 7天前 |
许可协议:MIT |
基本信息
分类:日期处理库 / JavaScript开发 |
收录时间:2018-04-24 23:44:04 |
907478e
Compare
1.10.3 (2021-01-09)
Bug Fixes