moment-timezone
Parse and display moments in any timezone.
Last updated 5 years ago by ellenaua .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install moment-timezone 
SYNC missed versions from official npm registry.

Moment Timezone

NPM version NPM downloads MIT License Build Status FOSSA Status

IANA Time zone support for Moment.js

Project Status

Moment-Timezone is an add-on for Moment.js. Both are considered legacy projects, now in maintenance mode. In most cases, you should choose a different library.

For more details and recommendations, please see Project Status in the Moment docs.

Thank you.

Resources

Examples

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

License

Moment-timezone is freely distributable under the terms of the MIT license.

FOSSA Status

Current Tags

  • 0.5.45                                ...           latest (9 months ago)

62 Versions

  • 0.5.45                                ...           9 months ago
  • 0.5.44                                ...           a year ago
  • 0.5.43                                ...           2 years ago
  • 0.5.42                                ...           2 years ago
  • 0.5.41                                ...           2 years ago
  • 0.5.40                                ...           2 years ago
  • 0.5.39                                ...           2 years ago
  • 0.5.38                                ...           2 years ago
  • 0.5.37                                ...           2 years ago
  • 0.5.36                                ...           2 years ago
  • 0.5.35                                ...           2 years ago
  • 0.5.34                                ...           3 years ago
  • 0.5.33                                ...           4 years ago
  • 0.5.32                                ...           4 years ago
  • 0.5.31                                ...           4 years ago
  • 0.5.30                                ...           4 years ago
  • 0.5.29                                ...           4 years ago
  • 0.5.28                                ...           5 years ago
  • 0.5.27                                ...           5 years ago
  • 0.5.26                                ...           5 years ago
  • 0.5.25                                ...           6 years ago
  • 0.5.24                                ...           6 years ago
  • 0.5.23                                ...           6 years ago
  • 0.5.22                                ...           6 years ago
  • 0.5.21                                ...           6 years ago
  • 0.5.20                                ...           6 years ago
  • 0.5.19                                ...           6 years ago
  • 0.5.18                                ...           6 years ago
  • 0.5.17                                ...           7 years ago
  • 0.5.16                                ...           7 years ago
  • 0.5.15                                ...           7 years ago
  • 0.5.14                                ...           7 years ago
  • 0.5.13                                ...           8 years ago
  • 0.5.12                                ...           8 years ago
  • 0.5.11                                ...           8 years ago
  • 0.5.10                                ...           8 years ago
  • 0.5.9                                ...           8 years ago
  • 0.5.8                                ...           8 years ago
  • 0.5.7                                ...           8 years ago
  • 0.5.6                                ...           8 years ago
  • 0.5.5                                ...           8 years ago
  • 0.5.4                                ...           9 years ago
  • 0.5.3                                ...           9 years ago
  • 0.5.2                                ...           9 years ago
  • 0.5.1                                ...           9 years ago
  • 0.5.0                                ...           9 years ago
  • 0.4.1                                ...           9 years ago
  • 0.4.0                                ...           9 years ago
  • 0.3.1                                ...           10 years ago
  • 0.3.0                                ...           10 years ago
  • 0.2.5                                ...           10 years ago
  • 0.2.4                                ...           10 years ago
  • 0.2.3                                ...           10 years ago
  • 0.2.2                                ...           10 years ago
  • 0.2.1                                ...           10 years ago
  • 0.2.0                                ...           10 years ago
  • 0.1.0                                ...           10 years ago
  • 0.0.6                                ...           11 years ago
  • 0.0.5                                ...           11 years ago
  • 0.0.3                                ...           11 years ago
  • 0.0.2                                ...           11 years ago
  • 0.0.1                                ...           11 years ago
Downloads
Total 2
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (5)

© 2010 - cnpmjs.org x YWFE | Home | YWFE