NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2170 most downloaded on npm
date-fns timezone utils
Last release 4 months ago
21 May 2026
Release timing varies
gaps range from 8 days to 9 months
Most releases are documented
notes for 11 of 18 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
18 releases · first in 2024
One column per month.
Fixed incorrect calculations when the date lands on the specified time zone DST hour when the system time zone is west of it.
Fixed incorrect calculations when the date lands on the specified time zone DST hour when the system time zone is west of it.
Fixed historical date calculations for time zones with seconds offset in certain time zones (namely Asia/Colombo, Asia/Jerusalem, Europe/Istanbul, Europe/Chisinau, Europe/Minsk, Europe/Simferopol, Europe/Sofia, Europe/Vilnius).
Fixed incorrect package.json published with @date-fns/tz@1.4.0.
package.json published with @date-fns/tz@1.4.0.Added support for time zones with seconds offset. It allows to handle dates before the implementation of the GMT system in 1883. Huge kudos to @Gianlu
Fixed TypeScript definitions missing in @date-fns@1.3.0.
@date-fns@1.3.0.Fixed Format.JS support when running in Hermes engine (React Native). Ensured compatibility with JavaScriptCore engine (Safari).
Fixed Format.JS support when running in Hermes engine (React Native). Ensured compatibility with JavaScriptCore engine (Safari).
Fixed TypeScript node16 module resolution #59. Thanks to @samchungy.
tzName function that formats time zone name in given date time and format. It supports "short", "long", "shortGeneric", and "longGeneric" formats, corresponding to TR35 tokens z..zzz, zzzz, v, and vvvv respectively. See README for more details.Fixed issue with setTime not syncing the value to the internal date resulting in incorrect behavior #16, #24.
Improved compatibility with FormatJS Intl polifyll #8. Thanks to @kevin-abiera.
Reworked DST handling to fix various bugs and edge cases. There might still be some issues, but I'm actively working on improving test coverage.
This is yet another critical bug-fix release. Thank you to all the people who sent PRs and reported their issues. Special thanks to @huextrat, @alloha
This is yet another critical bug-fix release. Thank you to all the people who sent PRs and reported their issues. Special thanks to @huextrat, @allohamora and @lhermann.
Fixed negative fractional time zones like America/St_Johns @allohamora.
Fixed the DST bug when creating a date in the DST transition hour.
±HH:MM/±HHMM/±HH time zone formats for Node.js below v22 (and other environments that has this problem) #3This release fixes a couple of critical bugs in the previous release.
This release fixes a couple of critical bugs in the previous release.
Fixed UTC setters functions generation.
Create Invalid Date instead of throwing an error on invalid arguments.
Make all the number getters return NaN when the date or time zone is invalid.
Make tzOffset return NaN when the date or the time zone is invalid.
Initial version ` `
Initial version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →