npm date-fns 3.3.1
v3.3.1

latest releases: 4.1.0, 4.0.0, 4.0.0-beta.1...
9 months ago

Kudos to @kossnocorp and @fturmel for working on the release.

Fixed

  • Fixed DST issue in getOverlappingDaysInIntervals, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.

  • Fixed functions incorrectly using trunc instead of round. The bug was introduced in v3.3.0. The affected functions: differenceInCalendarDays, differenceInCalendarISOWeeks, differenceInCalendarWeeks, getISOWeek, getWeek, and getISOWeeksInYear.

Don't miss a new date-fns release

NewReleases is sending notifications on new releases.