date-fns
Advanced tools
Changelog
[0.17.0] - 2015-09-29
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.
setISOWeek
now keeps time from original date.
Internal: reuse getDaysInMonth
inside of addMonths
.
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).