Socket
Socket
Sign inDemoInstall

date-fns

Package Overview
Dependencies
0
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
16171920Next

1.0.0-rc5

Diff

kossnocorp
published 1.0.0-rc4 •

kossnocorp
published 1.0.0-rc3 •

kossnocorp
published 1.0.0-rc2 •

kossnocorp
published 1.0.0-rc1 •

kossnocorp
published 1.0.0-alpha4 •

kossnocorp
published 1.0.0-alpha3 •

kossnocorp
published 1.0.0-alpha2 •

kossnocorp
published 1.0.0-alpha1 •

kossnocorp
published 0.17.0 •

Changelog

Source

[0.17.0] - 2015-09-29

Fixed

  • Fixed a lot of bugs appearing when date is modifying into other time zone (e.g., when adding months and original date is in DST but new date is not).

  • Prevent instances of Date to lose milliseconds value when passed to. parse in IE10.

Changed

  • setISOWeek now keeps time from original date.

  • Internal: reuse getDaysInMonth inside of addMonths.

Added

  • differenceInDays

  • getTimeSinceMidnight

  • format now has new format key aa, which returns a.m./p.m. as opposed to a that returns am/pm.

  • Complete UMD package (for Bower and CDN).

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc