Packages

date-fns

4.4.0 · 29 May 2026MIT126.2M / weekRepositorynpmAtom feed

Your version

2.22.0

28 May 2021Where it was published

2.30.0 is the newest release of 2.x.

In short

20 new2 fixed

Release note

On this release worked Sasha Koss, Lucas Silva, Lay, jwbth, fturmel, Tan75 and Anastasia Kobzar.

Fixed

Added

  • Added 18 new conversion functions:

    • daysToWeeks

    • hoursToMilliseconds

    • hoursToMinutes

    • hoursToSeconds

    • millisecondsToHours

    • millisecondsToMinutes

    • millisecondsToSeconds

    • minutesToHours

    • minutesToMilliseconds

    • minutesToSeconds

    • monthsToQuarters

    • monthsToYears

    • quartersToMonths

    • quartersToYears

    • secondsToHours

    • secondsToMilliseconds

    • secondsToMinutes

    • weeksToDays

    • yearsToMonths

    • yearsToQuarters

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.