1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
Oinktube/node_modules/moment-timezone
2024-10-27 13:39:07 -03:00
..
builds Update node modules 2024-10-27 13:39:07 -03:00
data Update node modules 2024-10-27 13:39:07 -03:00
.editorconfig Update 2024-02-08 10:08:03 -03:00
changelog.md Update node modules 2024-10-27 13:39:07 -03:00
composer.json Update node modules 2024-10-27 13:39:07 -03:00
index.d.ts add p2p support for HLS https://github.com/Novage/p2p-media-loader 2023-02-13 14:41:08 -03:00
index.js node_modules 2022-05-20 16:37:16 -03:00
LICENSE node_modules 2022-05-20 16:37:16 -03:00
moment-timezone-utils.d.ts node_modules 2022-05-20 16:37:16 -03:00
moment-timezone-utils.js Update node modules 2024-10-27 13:39:07 -03:00
moment-timezone.js Update node modules 2024-10-27 13:39:07 -03:00
package.json Update node modules 2024-10-27 13:39:07 -03:00
README.md https://github.com/WWBN/AVideo/issues/8137 2023-06-30 08:55:17 -03:00

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