This is a stub types definition for moment-timezone (https://github.com/moment/moment-timezone).
moment-timezone provides its own type definitions, so you don't need @types/moment-timezone installed!
This is a stub types definition. moment-timezone provides its own type definitions, so you do not need this installed.
Stub TypeScript definitions entry for moment-timezone, which provides its own types definitions
This is a stub types definition for moment-timezone (https://github.com/moment/moment-timezone).
moment-timezone provides its own type definitions, so you don't need @types/moment-timezone installed!
0.6.0
2025-05-25moment-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.
0.5.48
2025-03-232025b
. #11300.5.47
2025-01-282025a
. #11250.5.46
2024-10-062024b
. #1121
This only affects historical timestamps; no future timestamps have changed.0.5.45
2024-02-042024a
. #10950.5.44
2023-12-292023d
. #1085.valueOf()
to return NaN
for invalid zoned objects (matching default moment
). #1082tz.guess()
.getZone()
calls in .tz()
.0.5.43
2023-03-312023c
. #10530.5.42
2023-03-242023b
. #10470.5.41
2023-02-25moment
npm dependency to 2.29.4
to remove automated warnings about insecure dependencies.
Moment Timezone still works with core Moment 2.9.0
and higher.moment-timezone-with-data-2012-2022
bundles. #1035.
Use the rolling moment-timezone-with-data-10-year-range
files instead.0.5.40
2022-12-112022g
. #10220.5.39
2022-11-132022f
. #10140.5.38
2022-10-152022e
. #1009moment.tz.dataVersion
property to TypeScript definitions. #930.tar.gz
files from npm releases. #10000.5.37
2022-08-250.5.36
. #9990.5.36
2022-08-252022c
.0.5.35
2022-08-23Thanks to the OpenSSF Alpha-Omega project for reporting these!
0.5.34
2021-11-102021e
. #9620.5.33
2021-02-062021a
. #9270.5.32
2020-11-142020d
. #9100.5.31
2020-05-160.5.30
2020-05-162020a
. #852NOTE: You might need to un-install @types/moment-timezone
. Check
#858 for more info.
0.5.29
2020-05-160.5.28
2020-02-21Merged pull request #410 from @adgrace:
moment.tz.zonesForCountry(country_code)
which returns all timezones for the countrymoment.tz(timezone_id).countries()
to get countries for some time zonemoment.tz.countries()
to get all country codesmoment.tz.zones()
already exists0.5.27
2019-10-142019c
.0.5.26
2019-06-062019b
.0.5.25
2019-04-17moment.tz.dataVersion
to return 2019a
#7420.5.24
2019-04-172019a
#737_z
time zone name was not cleared with .local()
or .utcOffset(offset)
#7380.5.23
2018-10-280.5.22
2018-10-282018g
#6890.5.21
2018-06-230.5.20
2018-06-180.5.19
2018-06-180.5.18
2018-06-180.5.17
2018-05-122018d
. #6160.5.16
2018-04-182018d
data0.5.15
2018-04-172018d
. #5960.5.14
2017-10-302017c
. #5520.5.13
2017-04-040.5.12
2017-04-022017b
. #4220.5.11
2016-12-230.5.10
2016-11-272016j
. #4220.5.9
2016-11-03moment.tz.version
. #4130.5.8
2016-11-032016i
. #4110.5.7
2016-10-212016h
. #4030.5.6
2016-10-082016g
. #3940.5.5
2016-07-242016f
. #3600.5.4
2016-05-032016d
. #336Intl.DateTimeFormat().resolvedOptions().timeZone
if it is undefined. #3220.5.3
2016-03-242016c
. #3210.5.2
2016-03-152016b
. #3150.5.1
2016-03-012016a
. #299Date#toTimeString
did not return a known format. #302 #303Intl.DateTimeFormat().resolvedOptions().timeZone
to moment.tz.guess()
. #304 #2910.5.0
2015-12-28moment.tz.guess()
. #285id=exports
. #275package.json
. #2840.4.1
2015-10-072015e
. #2532015f
. #2532015g
. #2550.4.0
2015-05-302015b
. #2012015c
. #2142015d
. #214package.json
jspm:main
entry point. #194composer.json
. #2220.3.1
2015-03-162015a
. #1830.3.0
2015-01-13meta/*.json
files. Restructured the data to support multiple countries per zone. #162moment.tz
. #169moment#zone
to moment#utcOffset
. #1680.2.5
2014-11-122014j
. #1510.2.4
2014-10-202014i
. #1420.2.3
2014-10-202014h
. #1410.2.2
2014-09-042014g
. #126moment-timezone
with moment<2.6.0
.0.2.1
2014-08-02moment@2.8.1+
.0.2.0
2014-07-21moment>=2.6.0
as a dependency in bower.json
. #1070.1.0
2014-06-23moment.tz.{addRule,addZone,zoneExists,zones}
as they are no longer relevant with the new data format.2014e
.bower.json
to use a browser specific main:
entry point.moment.tz.link
for linking two identical zones.moment.tz.zone
for getting a loaded zone.moment.tz.load
for loading a bundled version of data from the IANA TZDB.moment.tz.names
for getting the names of all the loaded timezones.moment.tz.unpack
and moment.tz.unpackBase60
for unpacking data.moment-timezone-utils.js
for working with the packed and unpacked data.window.module
. #760.0.6
2014-04-200.0.5
2014-04-17moment.tz.zoneExists
#730.0.3
2013-10-100.0.1
2013-07-17