Permalink
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (19 sloc) 664 Bytes
title signature
Adding a Zone
moment.tz.add(PackedZoneString) moment.tz.add(PackedZoneString[])

To add zone data to Moment Timezone, use moment.tz.add.

moment.tz.add('America/Los_Angeles|PST PDT|80 70|0101|1Lzm0 1zb0 Op0');

To add more than one zone, pass an array of packed data.

moment.tz.add([
	'America/Los_Angeles|PST PDT|80 70|0101|1Lzm0 1zb0 Op0',
	'America/New_York|EST EDT|50 40|0101|1Lz50 1zb0 Op0'
]);

** Note: The above zone data is sample data and is not up to date. Reference the moment-timezone source for up to date data. **