You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

dayjs

Package Overview
Dependencies
0
Maintainers
1
Versions
125
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23
13
Next

1.11.11

Diff

Changelog

Source

1.11.11 (2024-04-28)

Bug Fixes

  • 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)
iamkun
published 1.11.10 •

Changelog

Source

1.11.10 (2023-09-19)

Bug Fixes

  • 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)
iamkun
published 1.11.9 •

Changelog

Source

1.11.9 (2023-07-01)

Bug Fixes

  • 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)
iamkun
published 1.11.8 •

Changelog

Source

1.11.8 (2023-06-02)

Bug Fixes

  • .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)
iamkun
published 1.11.7 •

Changelog

Source

1.11.7 (2022-12-06)

Bug Fixes

iamkun
published 1.11.6 •

Changelog

Source

1.11.6 (2022-10-21)

Bug Fixes

iamkun
published 2.0.0-alpha.4 •

iamkun
published 2.0.0-alpha.3 •

iamkun
published 1.11.5 •

Changelog

Source

1.11.5 (2022-08-12)

Bug Fixes

iamkun
published 1.11.4 •

Changelog

Source

1.11.4 (2022-07-19)

Bug Fixes

  • 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)
23
13
Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc