- Breaking: Added country data to the
meta/*.json
files. Restructured the data to support multiple countries per zone. #162 - Added the ability to set a default timezone for all new moments. #152
- Fixed a bug when passing a moment with an offset to
moment.tz
. #169 - Fixed a deprecation in moment core, changing
moment#zone
tomoment#utcOffset
. #168
- Updated data to IANA TZDB
2014j
. #151
- Updated data to IANA TZDB
2014i
. #142
- Updated data to IANA TZDB
2014h
. #141
- Updated data to IANA TZDB
2014g
. #126 - Added a warning when using
moment-timezone
withmoment<2.6.0
.
- Fixed support for
[email protected]+
.
- Added the ability to configure whether ambiguous or invalid input is rolled forward or backward. #101
- Added
moment>=2.6.0
as a dependency inbower.json
. #107 - Fixed getting the name of a zone that was added as a linked zone. #104
- Added an error message when a zone was not loaded. #106
- Breaking: Changed data format from Zones+Rules to just Zones. #82
- Breaking: Removed
moment.tz.{addRule,addZone,zoneExists,zones}
as they are no longer relevant with the new data format. - Made library 20x faster. JSPerf results
- Completely rewrote internals to support new data format.
- Updated the data collection process to get data directly from http://www.iana.org/time-zones.
- Updated data to IANA TZDB
2014e
. - Updated
bower.json
to use a browser specificmain:
entry point. - Added built files with included data.
- Added support for accurately parsing input around DST changes. #93
- Added comprehensive documentation at momentjs.com/timezone/docs/.
- Added
moment.tz.link
for linking two identical zones. - Added
moment.tz.zone
for getting a loaded zone. - Added
moment.tz.load
for loading a bundled version of data from the IANA TZDB. - Added
moment.tz.names
for getting the names of all the loaded timezones. - Added
moment.tz.unpack
andmoment.tz.unpackBase60
for unpacking data. - Added
moment-timezone-utils.js
for working with the packed and unpacked data. - Fixed major memory leak. #79
- Fixed global export to allow use in web workers. #78
- Fixed global export in browser environments that define
window.module
. #76
- Fixed issue with preventing loading moment-timezone more than once. #75
- Improved performance with memoization. #39
- Published only necessary files to npm. #46
- Added better handling of timezones around DST. #53 #61 #70
- Added Browserify support. #41
- Added
moment.tz.zoneExists
#73 - Fixed cloning moments with a timezone. #71
- Prevent loading moment-timezone more than once. #74
- Added Bower support.
- Added support for newer versions of moment.
- Added support for constructing a moment with a string and zone.
- Added more links and timezone names in moment-timezone.json
- Initial version.