Skip to content

Releases: moment/moment-timezone

Release 0.6.0

25 May 07:10
Compare
Choose a tag to compare
  • 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

23 Mar 10:48
Compare
Choose a tag to compare
  • Updated data to IANA TZDB 2025b. #1130

Release 0.5.47

28 Jan 11:34
Compare
Choose a tag to compare
  • Updated data to IANA TZDB 2025a. #1125

Release 0.5.46

06 Oct 05:01
Compare
Choose a tag to compare
  • Updated data to IANA TZDB 2024b. #1121
    This only affects historical timestamps; no future timestamps have changed.

Release 0.5.45

04 Feb 06:53
Compare
Choose a tag to compare
  • Updated data to IANA TZDB 2024a. #1095

Release 0.5.44

29 Dec 11:06
Compare
Choose a tag to compare
  • 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().

Release 0.5.43

31 Mar 10:11
Compare
Choose a tag to compare
  • Updated data to IANA TZDB 2023c. #1053

Release 0.5.42

24 Mar 06:32
Compare
Choose a tag to compare
  • Updated data to IANA TZDB 2023b. #1047

Release 0.5.41

25 Feb 07:01
Compare
Choose a tag to compare
  • Updated moment npm dependency to 2.29.4 to remove automated warnings about insecure dependencies #1004.
    Moment Timezone still works with core Moment 2.9.0 and higher.
  • Updated all dev dependencies including UglifyJS, which produces the minified builds.
  • Added deprecation warning to the pre-built moment-timezone-with-data-2012-2022 bundles #1035.
    Use the rolling moment-timezone-with-data-10-year-range files instead.

Release 0.5.40

11 Dec 10:15
Compare
Choose a tag to compare
  • Updated data to IANA TZDB 2022g. #1022