2017 © Pedro Peláez
 

component moment-timezone

Parse and display dates in any timezone

image

oro/moment-timezone

Parse and display dates in any timezone

  • Friday, October 28, 2016
  • by Grygir
  • Repository
  • 51 Watchers
  • 0 Stars
  • 180,516 Installations
  • JavaScript
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

Moment Timezone

Join the chat at https://gitter.im/moment/moment-timezone, (*1)

![NPM version][npm-version-image] NPM downloads MIT License ![Build Status][travis-image], (*2)

IANA Time Zone Database + Moment.js., (*3)

var june = moment("2014-06-01T12:00:00Z");
june.tz('America/Los_Angeles').format('ha z'); // 5am PDT
june.tz('America/New_York').format('ha z');    // 8am EDT
june.tz('Asia/Tokyo').format('ha z');          // 9pm JST
june.tz('Australia/Sydney').format('ha z');    // 10pm EST

var dec = moment("2014-12-01T12:00:00Z");
dec.tz('America/Los_Angeles').format('ha z');  // 4am PST
dec.tz('America/New_York').format('ha z');     // 7am EST
dec.tz('Asia/Tokyo').format('ha z');           // 9pm JST
dec.tz('Australia/Sydney').format('ha z');     // 11pm EST

Contribute code or compile time zone data

Read the changelog

The Versions

28/10 2016

dev-master

9999999-dev http://momentjs.com/timezone/

Parse and display dates in any timezone

  Sources   Download

MIT

The Requires

 

date time timezone moment zone iana tz olson

28/10 2016

0.5.7

0.5.7.0 http://momentjs.com/timezone/

Parse and display dates in any timezone

  Sources   Download

MIT

The Requires

 

date time timezone moment zone iana tz olson

26/05 2015

0.3.1

0.3.1.0 http://momentjs.com/timezone/

Parse and display dates in any timezone

  Sources   Download

MIT

The Requires

 

date time timezone moment zone iana tz olson