Skip to content

Releases: moment/moment-timezone

Release 0.6.4

Choose a tag to compare

@gilmoreorless gilmoreorless released this 15 Sep 11:56
  • Updated data to IANA TZDB 2026d. #1157
  • Fixed calendar arithmetic around time zone gaps. #1151
  • Fixed default date selection when creating a zoned Moment with only time fields.
    • Object inputs (e.g. moment.tz({ hour: 9 }, zoneName)). #1156
    • String inputs (e.g. moment.tz('09:00', 'HH:mm', zoneName)). #1159
    • Using un-zoned moment() when there is also a zone set with moment.tz.setDefault(zoneName). #1161
      • NOTE: This specific fix only works when also using core moment version 2.31.0 or higher.
        All other fixes in this release work with all supported versions of moment.

Release 0.6.3

Choose a tag to compare

@gilmoreorless gilmoreorless released this 19 Jul 08:02
  • Updated data to IANA TZDB 2026c. #1148

Release 0.6.2

Choose a tag to compare

@gilmoreorless gilmoreorless released this 26 Apr 09:45
  • Updated data to IANA TZDB 2026b. #1145

Release 0.6.1

Choose a tag to compare

@gilmoreorless gilmoreorless released this 18 Mar 11:00
  • Updated data to IANA TZDB 2026a. #1140

NOTE: This release does not include recently-announced DST changes for British Columbia, Canada. Those changes will likely be in 2026b.

Release 0.6.0

Choose a tag to compare

@gilmoreorless gilmoreorless released this 25 May 07:10
  • Fixed and updated TypeScript definitions. #1132
    • Updated types to more accurately match the code implementation.
    • Added definitions for pre-built files (e.g. moment-timezone-with-data.js).

This release is a potential breaking change for TypeScript projects only.
The types are now more accurate, but consumers might hit errors if they were relying on the more relaxed types.

No implementation code has changed in this release.

Release 0.5.48

Choose a tag to compare

@gilmoreorless gilmoreorless released this 23 Mar 10:48
  • Updated data to IANA TZDB 2025b. #1130

Release 0.5.47

Choose a tag to compare

@gilmoreorless gilmoreorless released this 28 Jan 11:34
  • Updated data to IANA TZDB 2025a. #1125

Release 0.5.46

Choose a tag to compare

@gilmoreorless gilmoreorless released this 06 Oct 05:01
  • Updated data to IANA TZDB 2024b. #1121
    This only affects historical timestamps; no future timestamps have changed.

Release 0.5.45

Choose a tag to compare

@gilmoreorless gilmoreorless released this 04 Feb 06:53
  • Updated data to IANA TZDB 2024a. #1095

Release 0.5.44

Choose a tag to compare

@gilmoreorless gilmoreorless released this 29 Dec 11:06
  • Updated data to IANA TZDB 2023d. #1085
  • Fixed .valueOf() to return NaN for invalid zoned objects (matching default moment) #1082.
  • Performance improvements:
    • Use binary search when looking up zone information #720.
    • Avoid redundant checks in tz.guess().
    • Avoid redundant getZone() calls in .tz().