date-fns
4.4.0 · 29 May 2026MIT126.2M / weekRepositorynpmAtom feed
138 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 2.x
2.11.1
26 Mar 2020Rebuilt TypeScript and flow types.
2.11.0
13 Mar 2020Kudos to @oakhan3, @Mukhammadali, @altrim, @leepowellcouk, @amatzon, @bryanMt, @kalekseev, @eugene-platov and @tjrobinson for working on the release.
Fixed
Fixed a bug in
differenceInYearscausing incorrect results when the left date is a leap day.Fixed
formatto work correctly with GMT-0752/GMT-0456 and similar timezones.
Changed
Changed
getDaytypings to return0|1|2|3|4|5|6instead ofnumber.Change date format to meet the national standard (GB/T 7408-2005).
Improve
ordinalNumberfunction behavior.Add prefix in
formatRelativedepending on if it's a current week or not.
Added
2.9.0
8 Jan 2020Fixed
Added
[Added
inclusiveoption to `areIntervalsOverlapping](#643).Added
isExistsfunction that checks if the given date is exists.Added
addfunction to add seconds, minutes, hours, weeks, years in single call.
Changed
2.8.0
19 Nov 2019Kudos to @NaridaL, @Zyten, @Imballinst, @leshakoss and @Neorth for working on the release.
Fixed
Added
2.6.0
22 Oct 20192.5.1
18 Oct 20192.5.0
16 Oct 2019Kudos to @dkozickis, @drugoi, @kranthilakum, @102, @gpetrioli and @JulienMalige for making the release happen.
Fixed
Added
2.4.1
28 Sep 20192.4.0
27 Sep 2019This release brought to you by these amazing people: @lovelovedokidoki, @alexigityan, @kalekseev and @andybangs. You rock!
Fixed
Added
2.3.0
24 Sep 20192.2.1
12 Sep 2019Kudos to date-fns contributors: @mzgajner, @sibiraj-s, @mukeshmandiwal, @SneakyFish5 and @CarterLi.
Added
2.1.0
6 Sep 20192.0.1
23 Aug 20192.0.0
20 Aug 2019Pre-releases changelog (if you're upgrading from alpha or beta): gist.github.com/kossnocorp/a307a464760b405bb78e…
🔥🔥🔥 date-fns v2 is out! 🔥🔥🔥
See the changelogs:
Pre-releases changelog (if you're upgrading from alpha or beta): gist.github.com/kossnocorp/a307a464760b405bb78e…
- 1.x
1.11.2 – 1.30.133 releases without a noteShow each
- 1.30.110 Dec 2018no note
- 1.30.010 Dec 2018no note
- 1.29.011 Oct 2017no note
- 1.28.519 May 2017no note
- 1.28.426 Apr 2017no note
- 1.28.314 Apr 2017no note
- 1.28.227 Mar 2017no note
- 1.28.119 Mar 2017no note
- 1.28.027 Feb 2017no note
- 1.27.21 Feb 2017no note
- 1.27.120 Jan 2017no note
- 1.27.019 Jan 2017no note
- 1.26.015 Jan 2017no note
- 1.25.011 Jan 2017no note
- 1.24.06 Jan 2017no note
- 1.23.05 Jan 2017no note
- 1.22.028 Dec 2016no note
- 1.21.118 Dec 2016no note
- 1.21.016 Dec 2016no note
- 1.20.114 Dec 2016no note
- 1.20.014 Dec 2016no note
- 1.19.013 Dec 2016no note
- 1.18.012 Dec 2016no note
- 1.17.010 Dec 2016no note
- 1.16.08 Dec 2016no note
- 1.15.17 Dec 2016no note
- 1.15.07 Dec 2016no note
- 1.14.16 Dec 2016no note
- 1.14.06 Dec 2016no note
- 1.13.06 Dec 2016no note
- 1.12.15 Dec 2016no note
- 1.12.05 Dec 2016no note
- 1.11.228 Nov 2016no note
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.