Day.js 1.8.18 release, time and date of the lightweight JavaScript library

Day.js 1.8.18 released. Day.js only 2kb size is a lightweight JavaScript date processing libraries, its features are:

  • And the same Moment.js API and usage

  • Immutable data (the Immutable)

  • Support chaining (Chainable)

  • Only 2kb size of micro-library

  • Full browser compatibility

This version fixes some bug, including:

  • Add the missing locale type definition
  • Repair .locale () processing is not supported locales
  • Update Italian locale (it)
  • Update locale (fa)
  • Update locale (zh-cn)
  • Update LocaleData plug-in to support dayjs (). LongDateFormat ()
  • Updates Mongolian (mn) locale relativeTime ( # 753 ) ( 6d51435 )

Release Notes:

https://github.com/iamkun/dayjs/releases/tag/v1.8.18

--------------------------------

Huawei cloud invite you to focus on the strongest AI technology blog [No.], including the most cutting-edge technological developments, technical articles, and other real case, in addition to concerns chance to win attractive prizes (HDC.Cloud tickets, AI course, AI books). Click  https://url.cn/5klEr02  , Huawei cloud account login concern. (Sweepstakes details can be found forum posts  https://bbs.huaweicloud.com/blogs/139292 )

Guess you like

Origin www.oschina.net/news/112167/dayjs-1-8-18-released