You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

178 lines
11 KiB

3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. ### `0.5.23` _2018-10-28_
  2. * Fix minor issue with tz guessing in Russia [#691](https://github.com/moment/moment-timezone/pull/691)
  3. ### `0.5.22` _2018-10-28_
  4. * Updated data to IANA TZDB `2018g` [#689](https://github.com/moment/moment-timezone/pull/689)
  5. * 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)
  6. ### `0.5.21` _2018-06-23_
  7. * Bugfix: revert breaking change introduced in 0.5.18
  8. ### `0.5.20` _2018-06-18_
  9. * Bugfix: accidentally commented code
  10. ### `0.5.19` _2018-06-18_
  11. * Revert: moved moment to peerDependencies
  12. ### `0.5.18` _2018-06-18_
  13. * Return error when timezone name is not a string.
  14. * Moved moment to peerDependencies [#628](https://github.com/moment/moment-timezone/pull/628)
  15. * Prefer nodejs to amd declaration [#573](https://github.com/moment/moment-timezone/pull/573)
  16. ### `0.5.17` _2018-05-12_
  17. * Updated data to IANA TZDB `2018d`. [#616](https://github.com/moment/moment-timezone/pull/616)
  18. ### `0.5.16` _2018-04-18_
  19. * Fixed Etc/UTC timezone recognition, updated tests. [#599](https://github.com/moment/moment-timezone/pull/599)
  20. * Updated minified files to contain IANA TZDB `2018d` data
  21. ### `0.5.15` _2018-04-17_
  22. * Updated data to IANA TZDB `2018d`. [#596](https://github.com/moment/moment-timezone/pull/596)
  23. ### `0.5.14` _2017-10-30_
  24. * Ensure Intl response is valid when guessing time zone. [#553](https://github.com/moment/moment-timezone/pull/553)
  25. * Updated data to IANA TZDB `2017c`. [#552](https://github.com/moment/moment-timezone/pull/552)
  26. * Convert to tz keeping wall time [#505](https://github.com/moment/moment-timezone/pull/505)
  27. * Make all time zones available for guessing. [#483](https://github.com/moment/moment-timezone/pull/483)
  28. * zone.offset has been deprecated in favor of zone.utcOffset [#398](https://github.com/moment/moment-timezone/pull/398)
  29. * Check for timestamp formats when parsing [#348](https://github.com/moment/moment-timezone/pull/348)
  30. ### `0.5.13` _2017-04-04_
  31. * Bumped version to address Bower cache issues with last release. [#474](https://github.com/moment/moment-timezone/issues/474)
  32. * (No actual changes otherwise)
  33. ### `0.5.12` _2017-04-02_
  34. * Updated data to IANA TZDB `2017b`. [#422](https://github.com/moment/moment-timezone/pull/460)
  35. * Build the truncated data file as 2012-2022 (+/- 5 years).
  36. ### `0.5.11` _2016-12-23_
  37. * Remove log statement when data is loaded twice. [#352](https://github.com/moment/moment-timezone/pull/352)
  38. ### `0.5.10` _2016-11-27_
  39. * Updated data to IANA TZDB `2016j`. [#422](https://github.com/moment/moment-timezone/pull/422)
  40. ### `0.5.9` _2016-11-03_
  41. * Fixed the output of `moment.tz.version`. [#413](https://github.com/moment/moment-timezone/issues/413)
  42. ### `0.5.8` _2016-11-03_
  43. * Updated data to IANA TZDB `2016i`. [#411](https://github.com/moment/moment-timezone/pull/411)
  44. ### `0.5.7` _2016-10-21_
  45. * Updated data to IANA TZDB `2016h`. [#403](https://github.com/moment/moment-timezone/pull/403)
  46. ### `0.5.6` _2016-10-08_
  47. * Updated data to IANA TZDB `2016g`. [#394](https://github.com/moment/moment-timezone/pull/394)
  48. ### `0.5.5` _2016-07-24_
  49. * Updated data to IANA TZDB `2016f`. [#360](https://github.com/moment/moment-timezone/pull/360)
  50. ### `0.5.4` _2016-05-03_
  51. * Updated data to IANA TZDB `2016d`. [#336](https://github.com/moment/moment-timezone/pull/336)
  52. * Ignore the results from `Intl.DateTimeFormat().resolvedOptions().timeZone` if it is undefined. [#322](https://github.com/moment/moment-timezone/pull/322)
  53. ### `0.5.3` _2016-03-24_
  54. * Updated data to IANA TZDB `2016c`. [#321](https://github.com/moment/moment-timezone/pull/321)
  55. ### `0.5.2` _2016-03-15_
  56. * Updated data to IANA TZDB `2016b`. [#315](https://github.com/moment/moment-timezone/pull/315)
  57. ### `0.5.1` _2016-03-01_
  58. * Updated data to IANA TZDB `2016a`. [#299](https://github.com/moment/moment-timezone/pull/299)
  59. * 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)
  60. * 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)
  61. ### `0.5.0` _2015-12-28_
  62. * Added support for guessing the user's timezone via `moment.tz.guess()`. [#285](https://github.com/moment/moment-timezone/pull/285)
  63. * Fixed UMD export issue when there was an html element with `id=exports`. [#275](https://github.com/moment/moment-timezone/pull/275)
  64. * Removed jspm specific dependencies from `package.json`. [#284](https://github.com/moment/moment-timezone/pull/284)
  65. ### `0.4.1` _2015-10-07_
  66. * Updated data to IANA TZDB `2015e`. [#253](https://github.com/moment/moment-timezone/pull/253)
  67. * Updated data to IANA TZDB `2015f`. [#253](https://github.com/moment/moment-timezone/pull/253)
  68. * Updated data to IANA TZDB `2015g`. [#255](https://github.com/moment/moment-timezone/pull/255)
  69. * Added jspm dependencies for moment. [#234](https://github.com/moment/moment-timezone/pull/234)
  70. * Included builds directory in npm. [#237](https://github.com/moment/moment-timezone/pull/237)
  71. * Removed version field from bower.json. [#230](https://github.com/moment/moment-timezone/pull/230)
  72. ### `0.4.0` _2015-05-30_
  73. * Updated data to IANA TZDB `2015b`. [#201](https://github.com/moment/moment-timezone/pull/201)
  74. * Updated data to IANA TZDB `2015c`. [#214](https://github.com/moment/moment-timezone/pull/214)
  75. * Updated data to IANA TZDB `2015d`. [#214](https://github.com/moment/moment-timezone/pull/214)
  76. * Updated zone getter to allow lazy unpacking to improve initial page load times. [#216](https://github.com/moment/moment-timezone/pull/216)
  77. * Added a `package.json` `jspm:main` entry point. [#194](https://github.com/moment/moment-timezone/pull/194)
  78. * Added `composer.json`. [#222](https://github.com/moment/moment-timezone/pull/222)
  79. * Added an error message when trying to load moment-timezone twice. [#212](https://github.com/moment/moment-timezone/pull/212)
  80. ### `0.3.1` _2015-03-16_
  81. * Updated data to IANA TZDB `2015a`. [#183](https://github.com/moment/moment-timezone/pull/183)
  82. ### `0.3.0` _2015-01-13_
  83. * *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)
  84. * Added the ability to set a default timezone for all new moments. [#152](https://github.com/moment/moment-timezone/pull/152)
  85. * Fixed a bug when passing a moment with an offset to `moment.tz`. [#169](https://github.com/moment/moment-timezone/pull/169)
  86. * Fixed a deprecation in moment core, changing `moment#zone` to `moment#utcOffset`. [#168](https://github.com/moment/moment-timezone/pull/168)
  87. ### `0.2.5` _2014-11-12_
  88. * Updated data to IANA TZDB `2014j`. [#151](https://github.com/moment/moment-timezone/pull/151)
  89. ### `0.2.4` _2014-10-20_
  90. * Updated data to IANA TZDB `2014i`. [#142](https://github.com/moment/moment-timezone/pull/142)
  91. ### `0.2.3` _2014-10-20_
  92. * Updated data to IANA TZDB `2014h`. [#141](https://github.com/moment/moment-timezone/pull/141)
  93. ### `0.2.2` _2014-09-04_
  94. * Updated data to IANA TZDB `2014g`. [#126](https://github.com/moment/moment-timezone/pull/126)
  95. * Added a warning when using `moment-timezone` with `moment<2.6.0`.
  96. ### `0.2.1` _2014-08-02_
  97. * Fixed support for `moment@2.8.1+`.
  98. ### `0.2.0` _2014-07-21_
  99. * Added the ability to configure whether ambiguous or invalid input is rolled forward or backward. [#101](https://github.com/moment/moment-timezone/pull/101)
  100. * Added `moment>=2.6.0` as a dependency in `bower.json`. [#107](https://github.com/moment/moment-timezone/issues/107)
  101. * Fixed getting the name of a zone that was added as a linked zone. [#104](https://github.com/moment/moment-timezone/pull/104)
  102. * Added an error message when a zone was not loaded. [#106](https://github.com/moment/moment-timezone/issues/106)
  103. ### `0.1.0` _2014-06-23_
  104. * *Breaking:* Changed data format from Zones+Rules to just Zones. [#82](https://github.com/moment/moment-timezone/pull/82)
  105. * *Breaking:* Removed `moment.tz.{addRule,addZone,zoneExists,zones}` as they are no longer relevant with the new data format.
  106. * Made library 20x faster. [JSPerf results](http://jsperf.com/moment-timezone-0-1-0/2)
  107. * Completely rewrote internals to support new data format.
  108. * Updated the data collection process to get data directly from http://www.iana.org/time-zones.
  109. * Updated data to IANA TZDB `2014e`.
  110. * Updated `bower.json` to use a browser specific `main:` entry point.
  111. * Added built files with included data.
  112. * Added support for accurately parsing input around DST changes. [#93](https://github.com/moment/moment-timezone/pull/93)
  113. * Added comprehensive documentation at [momentjs.com/timezone/docs/](http://momentjs.com/timezone/docs/).
  114. * Added `moment.tz.link` for linking two identical zones.
  115. * Added `moment.tz.zone` for getting a loaded zone.
  116. * Added `moment.tz.load` for loading a bundled version of data from the IANA TZDB.
  117. * Added `moment.tz.names` for getting the names of all the loaded timezones.
  118. * Added `moment.tz.unpack` and `moment.tz.unpackBase60` for unpacking data.
  119. * Added `moment-timezone-utils.js` for working with the packed and unpacked data.
  120. * Fixed major memory leak. [#79](https://github.com/moment/moment-timezone/issues/79)
  121. * Fixed global export to allow use in web workers. [#78](https://github.com/moment/moment-timezone/pull/78)
  122. * Fixed global export in browser environments that define `window.module`. [#76](https://github.com/moment/moment-timezone/pull/76)
  123. ### `0.0.6` _2014-04-20_
  124. * Fixed issue with preventing loading moment-timezone more than once. [#75](https://github.com/moment/moment-timezone/pull/75)
  125. ### `0.0.5` _2014-04-17_
  126. * Improved performance with memoization. [#39](https://github.com/moment/moment-timezone/issues/39)
  127. * Published only necessary files to npm. [#46](https://github.com/moment/moment-timezone/issues/46)
  128. * 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)
  129. * Added Browserify support. [#41](https://github.com/moment/moment-timezone/issues/41)
  130. * Added `moment.tz.zoneExists` [#73](https://github.com/moment/moment-timezone/issues/73)
  131. * Fixed cloning moments with a timezone. [#71](https://github.com/moment/moment-timezone/issues/71)
  132. * Prevent loading moment-timezone more than once. [#74](https://github.com/moment/moment-timezone/issues/74)
  133. ### `0.0.3` _2013-10-10_
  134. * Added Bower support.
  135. * Added support for newer versions of moment.
  136. * Added support for constructing a moment with a string and zone.
  137. * Added more links and timezone names in moment-timezone.json
  138. ### `0.0.1` _2013-07-17_
  139. * Initial version.