UNPKG

14 kBMarkdownView Raw
1### `0.5.40` _2022-12-11_
2* Updated data to IANA TZDB `2022g`
3
4### `0.5.39` _2022-11-13_
5* Updated data to IANA TZDB `2022f`
6
7### `0.5.38` _2022-10-15_
8* Updated data to IANA TZDB `2022e`
9* Added `moment.tz.dataVersion` property to TypeScript definitions [#930](https://github.com/moment/moment-timezone/issues/930)
10* Removed temporary `.tar.gz` files from npm releases [#1000](https://github.com/moment/moment-timezone/pull/1000)
11
12### `0.5.37` _2022-08-25_
13* Re-publish npm package, because of extra folder present in 0.5.36, check
14 https://github.com/moment/moment-timezone/issues/999
15
16### `0.5.36` _2022-08-25_
17* IANA TZDB 2022c
18* improvements/fixes to data pipeline
19
20### `0.5.35` _2022-08-23_
21* Fix command injection in data pipeline https://github.com/moment/moment-timezone/security/advisories/GHSA-56x4-j7p9-fcf9
22* Fix cleartext transmission of sensitive information https://github.com/moment/moment-timezone/security/advisories/GHSA-v78c-4p63-2j6c
23
24Thanks to the OpenSSF Alpha-Omega project for reporting these!
25
26### `0.5.34` _2021-11-10_
27* Updated data to IANA TZDB `2021e`
28
29### `0.5.33` _2021-02-06_
30* Updated data to IANA TZDB `2021a`
31
32### `0.5.32` _2020-11-14_
33* Updated data to IANA TZDB `2020d`
34
35### `0.5.31` _2020-05-16_
36* Fixed Travis builds for Node.js 4 and 6
37
38### `0.5.30` _2020-05-16_
39* Updated data to IANA TZDB `2020a`
40* Fixed typescript definitions
41
42NOTE: You might need to un-install @types/moment-timezone. Check
43https://github.com/moment/moment-timezone/issues/858 for more info
44
45### `0.5.29` _2020-05-16_
46* Merged fix of es6 module loading issue https://github.com/moment/moment-timezone/commit/1fd42349189b24e15c60f162dc8c40b42db79dfe
47* Merged PR with typescript declarations https://github.com/moment/moment-timezone/commit/ed529ea6fbcc70315c0c3f6d7c7cb70eadf56b03
48* Merged fixes to changelog https://github.com/moment/moment-timezone/commit/adb7d7b43c7328d814311ac1355bfeef88eab6e8
49
50### `0.5.28` _2020-02-21_
51Merged pull request #410 from @adgrace:
52* Added a method `moment.tz.zonesForCountry(country_code)` which returns all timezones for the country
53* Added a method `moment.tz(timezone_id).countries()` to get countries for some time zone
54* Added a method `moment.tz.countries()` to get all country codes
55* And as you know `moment.tz.zones()` already exists
56
57### `0.5.27` _2019-10-14_
58* Updated data to IANA TZDB `2019c`
59
60### `0.5.26` _2019-06-06_
61* Updated data to IANA TZDB `2019b`
62* Fix: stabilize Array.sort [#762](https://github.com/moment/moment-timezone/pull/762)
63
64### `0.5.25` _2019-04-17_
65* Fix `moment.tz.dataVersion` to return `2019a` [#742](https://github.com/moment/moment-timezone/issues/742)
66* Update path in bower.json
67
68### `0.5.24` _2019-04-17_
69* Updated data to IANA TZDB `2019a` [#737](https://github.com/moment/moment-timezone/issues/737)
70* Start shipping both a 1970-1930 file and a rolling 10-year file [#614](https://github.com/moment/moment-timezone/issues/614) [#697](https://github.com/moment/moment-timezone/issues/697)
71* Fixed bug where `_z` time zone name was not cleared with `.local()` or `.utcOffset(offset)` [#738](https://github.com/moment/moment-timezone/issues/738)
72
73### `0.5.23` _2018-10-28_
74* Fix minor issue with tz guessing in Russia [#691](https://github.com/moment/moment-timezone/pull/691)
75
76### `0.5.22` _2018-10-28_
77* Updated data to IANA TZDB `2018g` [#689](https://github.com/moment/moment-timezone/pull/689)
78* Fix issue with missing LMT entries for some zones, and fix data builds on Linux and Windows [#308](https://github.com/moment/moment-timezone/issues/308)
79
80### `0.5.21` _2018-06-23_
81* Bugfix: revert breaking change introduced in 0.5.18
82
83### `0.5.20` _2018-06-18_
84* Bugfix: accidentally commented code
85
86### `0.5.19` _2018-06-18_
87* Revert: moved moment to peerDependencies
88
89### `0.5.18` _2018-06-18_
90* Return error when timezone name is not a string.
91* Moved moment to peerDependencies [#628](https://github.com/moment/moment-timezone/pull/628)
92* Prefer nodejs to amd declaration [#573](https://github.com/moment/moment-timezone/pull/573)
93
94### `0.5.17` _2018-05-12_
95* Updated data to IANA TZDB `2018d`. [#616](https://github.com/moment/moment-timezone/pull/616)
96
97### `0.5.16` _2018-04-18_
98* Fixed Etc/UTC timezone recognition, updated tests. [#599](https://github.com/moment/moment-timezone/pull/599)
99* Updated minified files to contain IANA TZDB `2018d` data
100
101### `0.5.15` _2018-04-17_
102* Updated data to IANA TZDB `2018d`. [#596](https://github.com/moment/moment-timezone/pull/596)
103
104### `0.5.14` _2017-10-30_
105* Ensure Intl response is valid when guessing time zone. [#553](https://github.com/moment/moment-timezone/pull/553)
106* Updated data to IANA TZDB `2017c`. [#552](https://github.com/moment/moment-timezone/pull/552)
107* Convert to tz keeping wall time [#505](https://github.com/moment/moment-timezone/pull/505)
108* Make all time zones available for guessing. [#483](https://github.com/moment/moment-timezone/pull/483)
109* zone.offset has been deprecated in favor of zone.utcOffset [#398](https://github.com/moment/moment-timezone/pull/398)
110* Check for timestamp formats when parsing [#348](https://github.com/moment/moment-timezone/pull/348)
111
112### `0.5.13` _2017-04-04_
113* Bumped version to address Bower cache issues with last release. [#474](https://github.com/moment/moment-timezone/issues/474)
114* (No actual changes otherwise)
115
116### `0.5.12` _2017-04-02_
117* Updated data to IANA TZDB `2017b`. [#422](https://github.com/moment/moment-timezone/pull/460)
118* Build the truncated data file as 2012-2022 (+/- 5 years).
119
120### `0.5.11` _2016-12-23_
121* Remove log statement when data is loaded twice. [#352](https://github.com/moment/moment-timezone/pull/352)
122
123### `0.5.10` _2016-11-27_
124* Updated data to IANA TZDB `2016j`. [#422](https://github.com/moment/moment-timezone/pull/422)
125
126### `0.5.9` _2016-11-03_
127* Fixed the output of `moment.tz.version`. [#413](https://github.com/moment/moment-timezone/issues/413)
128
129### `0.5.8` _2016-11-03_
130* Updated data to IANA TZDB `2016i`. [#411](https://github.com/moment/moment-timezone/pull/411)
131
132### `0.5.7` _2016-10-21_
133* Updated data to IANA TZDB `2016h`. [#403](https://github.com/moment/moment-timezone/pull/403)
134
135### `0.5.6` _2016-10-08_
136* Updated data to IANA TZDB `2016g`. [#394](https://github.com/moment/moment-timezone/pull/394)
137
138### `0.5.5` _2016-07-24_
139* Updated data to IANA TZDB `2016f`. [#360](https://github.com/moment/moment-timezone/pull/360)
140
141### `0.5.4` _2016-05-03_
142* Updated data to IANA TZDB `2016d`. [#336](https://github.com/moment/moment-timezone/pull/336)
143* Ignore the results from `Intl.DateTimeFormat().resolvedOptions().timeZone` if it is undefined. [#322](https://github.com/moment/moment-timezone/pull/322)
144
145### `0.5.3` _2016-03-24_
146* Updated data to IANA TZDB `2016c`. [#321](https://github.com/moment/moment-timezone/pull/321)
147
148### `0.5.2` _2016-03-15_
149* Updated data to IANA TZDB `2016b`. [#315](https://github.com/moment/moment-timezone/pull/315)
150
151### `0.5.1` _2016-03-01_
152* Updated data to IANA TZDB `2016a`. [#299](https://github.com/moment/moment-timezone/pull/299)
153* Fixed bug when `Date#toTimeString` did not return a known format. [#302](https://github.com/moment/moment-timezone/pull/302) [#303](https://github.com/moment/moment-timezone/pull/303)
154* Added lookup on `Intl.DateTimeFormat().resolvedOptions().timeZone` to `moment.tz.guess()`. [#304](https://github.com/moment/moment-timezone/pull/304) [#291](https://github.com/moment/moment-timezone/pull/291)
155
156### `0.5.0` _2015-12-28_
157* Added support for guessing the user's timezone via `moment.tz.guess()`. [#285](https://github.com/moment/moment-timezone/pull/285)
158* Fixed UMD export issue when there was an html element with `id=exports`. [#275](https://github.com/moment/moment-timezone/pull/275)
159* Removed jspm specific dependencies from `package.json`. [#284](https://github.com/moment/moment-timezone/pull/284)
160
161### `0.4.1` _2015-10-07_
162* Updated data to IANA TZDB `2015e`. [#253](https://github.com/moment/moment-timezone/pull/253)
163* Updated data to IANA TZDB `2015f`. [#253](https://github.com/moment/moment-timezone/pull/253)
164* Updated data to IANA TZDB `2015g`. [#255](https://github.com/moment/moment-timezone/pull/255)
165* Added jspm dependencies for moment. [#234](https://github.com/moment/moment-timezone/pull/234)
166* Included builds directory in npm. [#237](https://github.com/moment/moment-timezone/pull/237)
167* Removed version field from bower.json. [#230](https://github.com/moment/moment-timezone/pull/230)
168
169### `0.4.0` _2015-05-30_
170* Updated data to IANA TZDB `2015b`. [#201](https://github.com/moment/moment-timezone/pull/201)
171* Updated data to IANA TZDB `2015c`. [#214](https://github.com/moment/moment-timezone/pull/214)
172* Updated data to IANA TZDB `2015d`. [#214](https://github.com/moment/moment-timezone/pull/214)
173* Updated zone getter to allow lazy unpacking to improve initial page load times. [#216](https://github.com/moment/moment-timezone/pull/216)
174* Added a `package.json` `jspm:main` entry point. [#194](https://github.com/moment/moment-timezone/pull/194)
175* Added `composer.json`. [#222](https://github.com/moment/moment-timezone/pull/222)
176* Added an error message when trying to load moment-timezone twice. [#212](https://github.com/moment/moment-timezone/pull/212)
177
178### `0.3.1` _2015-03-16_
179* Updated data to IANA TZDB `2015a`. [#183](https://github.com/moment/moment-timezone/pull/183)
180
181### `0.3.0` _2015-01-13_
182
183* *Breaking:* Added country data to the `meta/*.json` files. Restructured the data to support multiple countries per zone. [#162](https://github.com/moment/moment-timezone/pull/162)
184* Added the ability to set a default timezone for all new moments. [#152](https://github.com/moment/moment-timezone/pull/152)
185* Fixed a bug when passing a moment with an offset to `moment.tz`. [#169](https://github.com/moment/moment-timezone/pull/169)
186* Fixed a deprecation in moment core, changing `moment#zone` to `moment#utcOffset`. [#168](https://github.com/moment/moment-timezone/pull/168)
187
188### `0.2.5` _2014-11-12_
189* Updated data to IANA TZDB `2014j`. [#151](https://github.com/moment/moment-timezone/pull/151)
190
191### `0.2.4` _2014-10-20_
192* Updated data to IANA TZDB `2014i`. [#142](https://github.com/moment/moment-timezone/pull/142)
193
194### `0.2.3` _2014-10-20_
195* Updated data to IANA TZDB `2014h`. [#141](https://github.com/moment/moment-timezone/pull/141)
196
197### `0.2.2` _2014-09-04_
198* Updated data to IANA TZDB `2014g`. [#126](https://github.com/moment/moment-timezone/pull/126)
199* Added a warning when using `moment-timezone` with `moment<2.6.0`.
200
201### `0.2.1` _2014-08-02_
202* Fixed support for `moment@2.8.1+`.
203
204### `0.2.0` _2014-07-21_
205* Added the ability to configure whether ambiguous or invalid input is rolled forward or backward. [#101](https://github.com/moment/moment-timezone/pull/101)
206* Added `moment>=2.6.0` as a dependency in `bower.json`. [#107](https://github.com/moment/moment-timezone/issues/107)
207* Fixed getting the name of a zone that was added as a linked zone. [#104](https://github.com/moment/moment-timezone/pull/104)
208* Added an error message when a zone was not loaded. [#106](https://github.com/moment/moment-timezone/issues/106)
209
210### `0.1.0` _2014-06-23_
211* *Breaking:* Changed data format from Zones+Rules to just Zones. [#82](https://github.com/moment/moment-timezone/pull/82)
212* *Breaking:* Removed `moment.tz.{addRule,addZone,zoneExists,zones}` as they are no longer relevant with the new data format.
213* Made library 20x faster. [JSPerf results](http://jsperf.com/moment-timezone-0-1-0/2)
214* Completely rewrote internals to support new data format.
215* Updated the data collection process to get data directly from http://www.iana.org/time-zones.
216* Updated data to IANA TZDB `2014e`.
217* Updated `bower.json` to use a browser specific `main:` entry point.
218* Added built files with included data.
219* Added support for accurately parsing input around DST changes. [#93](https://github.com/moment/moment-timezone/pull/93)
220* Added comprehensive documentation at [momentjs.com/timezone/docs/](http://momentjs.com/timezone/docs/).
221* Added `moment.tz.link` for linking two identical zones.
222* Added `moment.tz.zone` for getting a loaded zone.
223* Added `moment.tz.load` for loading a bundled version of data from the IANA TZDB.
224* Added `moment.tz.names` for getting the names of all the loaded timezones.
225* Added `moment.tz.unpack` and `moment.tz.unpackBase60` for unpacking data.
226* Added `moment-timezone-utils.js` for working with the packed and unpacked data.
227* Fixed major memory leak. [#79](https://github.com/moment/moment-timezone/issues/79)
228* Fixed global export to allow use in web workers. [#78](https://github.com/moment/moment-timezone/pull/78)
229* Fixed global export in browser environments that define `window.module`. [#76](https://github.com/moment/moment-timezone/pull/76)
230
231### `0.0.6` _2014-04-20_
232* Fixed issue with preventing loading moment-timezone more than once. [#75](https://github.com/moment/moment-timezone/pull/75)
233
234### `0.0.5` _2014-04-17_
235* Improved performance with memoization. [#39](https://github.com/moment/moment-timezone/issues/39)
236* Published only necessary files to npm. [#46](https://github.com/moment/moment-timezone/issues/46)
237* Added better handling of timezones around DST. [#53](https://github.com/moment/moment-timezone/issues/53) [#61](https://github.com/moment/moment-timezone/issues/61) [#70](https://github.com/moment/moment-timezone/issues/70)
238* Added Browserify support. [#41](https://github.com/moment/moment-timezone/issues/41)
239* Added `moment.tz.zoneExists` [#73](https://github.com/moment/moment-timezone/issues/73)
240* Fixed cloning moments with a timezone. [#71](https://github.com/moment/moment-timezone/issues/71)
241* Prevent loading moment-timezone more than once. [#74](https://github.com/moment/moment-timezone/issues/74)
242
243### `0.0.3` _2013-10-10_
244* Added Bower support.
245* Added support for newer versions of moment.
246* Added support for constructing a moment with a string and zone.
247* Added more links and timezone names in moment-timezone.json
248
249### `0.0.1` _2013-07-17_
250* Initial version.