{"id":13474955,"url":"https://github.com/moment/moment-timezone","last_synced_at":"2025-09-09T21:22:27.743Z","repository":{"id":3232133,"uuid":"4268140","full_name":"moment/moment-timezone","owner":"moment","description":"Timezone support for moment.js","archived":false,"fork":false,"pushed_at":"2025-03-23T10:12:20.000Z","size":21878,"stargazers_count":3864,"open_issues_count":74,"forks_count":836,"subscribers_count":103,"default_branch":"develop","last_synced_at":"2025-04-30T16:19:10.561Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"momentjs.com/timezone","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moment.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-05-09T03:51:49.000Z","updated_at":"2025-04-29T16:32:41.000Z","dependencies_parsed_at":"2024-09-25T23:08:49.637Z","dependency_job_id":"404c302c-4f2f-43de-a098-a5abe64b06e8","html_url":"https://github.com/moment/moment-timezone","commit_stats":{"total_commits":549,"total_committers":55,"mean_commits":9.981818181818182,"dds":0.5792349726775956,"last_synced_commit":"4b7ce20307ca9eb083ec1a63812f352ee52a1e0b"},"previous_names":[],"tags_count":66,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moment%2Fmoment-timezone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moment%2Fmoment-timezone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moment%2Fmoment-timezone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moment%2Fmoment-timezone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moment","download_url":"https://codeload.github.com/moment/moment-timezone/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251739678,"owners_count":21635894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:01:16.217Z","updated_at":"2025-04-30T16:19:23.185Z","avatar_url":"https://github.com/moment.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Date","Date [🔝](#readme)","日期"],"sub_categories":["Runner","运行器","运行器e2e测试"],"readme":"# [Moment Timezone](http://momentjs.com/timezone/)\n\n[![NPM version][npm-version-image]][npm-url]\n[![NPM downloads][npm-downloads-image]][npm-download-url]\n[![MIT License][license-image]][license-url]\n[![Build Status][ci-image]][ci-url]\n[![FOSSA Status][fossa-badge-image]][fossa-badge-url]\n\nIANA Time zone support for Moment.js\n\n## Project Status\n\nMoment-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.\n\nFor more details and recommendations, please see [Project Status](https://momentjs.com/docs/#/-project-status/) in the Moment docs.\n\n*Thank you.*\n\n## Resources\n\n- [Documentation](https://momentjs.com/timezone/docs/)\n- [Changelog](changelog.md)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/moment-timezone)\n\n## Examples\n\n```js\nvar june = moment(\"2014-06-01T12:00:00Z\");\njune.tz('America/Los_Angeles').format('ha z'); // 5am PDT\njune.tz('America/New_York').format('ha z');    // 8am EDT\njune.tz('Asia/Tokyo').format('ha z');          // 9pm JST\njune.tz('Australia/Sydney').format('ha z');    // 10pm EST\n\nvar dec = moment(\"2014-12-01T12:00:00Z\");\ndec.tz('America/Los_Angeles').format('ha z');  // 4am PST\ndec.tz('America/New_York').format('ha z');     // 7am EST\ndec.tz('Asia/Tokyo').format('ha z');           // 9pm JST\ndec.tz('Australia/Sydney').format('ha z');     // 11pm EST\n```\n\n## License\n\nMoment-timezone is freely distributable under the terms of the [MIT license][license-url].\n\n[![FOSSA Status][fossa-large-image]][fossa-large-url]\n\n\n[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat\n[license-url]: LICENSE\n\n[npm-url]: https://npmjs.org/package/moment-timezone\n[npm-version-image]: https://img.shields.io/npm/v/moment-timezone.svg?style=flat\n\n[npm-downloads-image]: https://img.shields.io/npm/dm/moment-timezone.svg?style=flat\n[npm-download-url]: https://npmcharts.com/compare/moment-timezone?minimal=true\n\n[ci-url]: https://github.com/moment/moment-timezone/actions/workflows/tests.yml?query=branch%253Adevelop\n[ci-image]: https://github.com/moment/moment-timezone/actions/workflows/tests.yml/badge.svg?query=branch%253Adevelop\n\n[fossa-badge-image]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone.svg?type=shield\n[fossa-badge-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone?ref=badge_shield\n\n[fossa-large-image]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone.svg?type=large\n[fossa-large-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone?ref=badge_large\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoment%2Fmoment-timezone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoment%2Fmoment-timezone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoment%2Fmoment-timezone/lists"}