Skip to content

Commit

Permalink
IANA timezone database 2020d
Browse files Browse the repository at this point in the history
  • Loading branch information
ellenaua committed Nov 14, 2020
2 parents 0e7e649 + 3128dda commit eca9423
Show file tree
Hide file tree
Showing 37 changed files with 135,966 additions and 1,516 deletions.
54 changes: 43 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,29 @@
# [Moment Timezone](http://momentjs.com/timezone)
# [Moment Timezone](http://momentjs.com/timezone/)

[![Join the chat at https://gitter.im/moment/moment-timezone](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/moment/moment-timezone?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![NPM version][npm-version-image]][npm-url]
[![NPM downloads][npm-downloads-image]][npm-download-url]
[![MIT License][license-image]][license-url]
[![Build Status][travis-image]][travis-url]
[![FOSSA Status][fossa-badge-image]][fossa-badge-url]
[![SemVer compatibility][semver-image]][semver-url]

[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url]
IANA Time zone support for Moment.js

IANA Time Zone Database + [Moment.js](http://momentjs.com).
## 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](https://momentjs.com/docs/#/-project-status/) in the Moment docs.

*Thank you.*

## Resources

- [Documentation](https://momentjs.com/timezone/docs/)
- [Changelog](changelog.md)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/moment-timezone)

## Examples

```js
var june = moment("2014-06-01T12:00:00Z");
Expand All @@ -20,17 +39,30 @@ 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](contributing.md)
## License

#### [Read the changelog](changelog.md)
Moment-timezone is freely distributable under the terms of the [MIT license][license-url].

[![FOSSA Status][fossa-large-image]][fossa-large-url]

[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat

[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat
[license-url]: LICENSE

[npm-url]: https://npmjs.org/package/moment-timezone
[npm-version-image]: http://img.shields.io/npm/v/moment-timezone.svg?style=flat
[npm-downloads-image]: http://img.shields.io/npm/dm/moment-timezone.svg?style=flat
[npm-version-image]: https://img.shields.io/npm/v/moment-timezone.svg?style=flat

[npm-downloads-image]: https://img.shields.io/npm/dm/moment-timezone.svg?style=flat
[npm-download-url]: https://npmcharts.com/compare/moment-timezone?minimal=true

[travis-url]: https://travis-ci.org/moment/moment-timezone
[travis-image]: https://img.shields.io/travis/moment/moment-timezone/develop.svg?style=flat

[fossa-badge-image]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone.svg?type=shield
[fossa-badge-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone?ref=badge_shield

[fossa-large-image]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone.svg?type=large
[fossa-large-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone?ref=badge_large

[travis-url]: http://travis-ci.org/moment/moment-timezone
[travis-image]: http://img.shields.io/travis/moment/moment-timezone/develop.svg?style=flat
[semver-image]: https://api.dependabot.com/badges/compatibility_score?dependency-name=moment-timezone&package-manager=npm_and_yarn&version-scheme=semver
[semver-url]: https://dependabot.com/compatibility-score.html?dependency-name=moment-timezone&package-manager=npm_and_yarn&version-scheme=semver
4 changes: 2 additions & 2 deletions builds/moment-timezone-with-data-10-year-range.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! moment-timezone.js
//! version : 0.5.31
//! version : 0.5.32
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
Expand Down Expand Up @@ -29,7 +29,7 @@
// return moment;
// }

var VERSION = "0.5.31",
var VERSION = "0.5.32",
zones = {},
links = {},
countries = {},
Expand Down
2 changes: 1 addition & 1 deletion builds/moment-timezone-with-data-10-year-range.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions builds/moment-timezone-with-data-1970-2030.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! moment-timezone.js
//! version : 0.5.31
//! version : 0.5.32
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
Expand Down Expand Up @@ -29,7 +29,7 @@
// return moment;
// }

var VERSION = "0.5.31",
var VERSION = "0.5.32",
zones = {},
links = {},
countries = {},
Expand Down
2 changes: 1 addition & 1 deletion builds/moment-timezone-with-data-1970-2030.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions builds/moment-timezone-with-data-2012-2022.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! moment-timezone.js
//! version : 0.5.31
//! version : 0.5.32
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
Expand Down Expand Up @@ -29,7 +29,7 @@
// return moment;
// }

var VERSION = "0.5.31",
var VERSION = "0.5.32",
zones = {},
links = {},
countries = {},
Expand Down
2 changes: 1 addition & 1 deletion builds/moment-timezone-with-data-2012-2022.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions builds/moment-timezone-with-data.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion builds/moment-timezone-with-data.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion builds/moment-timezone.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### `0.5.32` _2020-05-16_
* Updated data to IANA TZDB `2020d`

### `0.5.31` _2020-05-16_
* Fixed Travis builds for Node.js 4 and 6

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "moment/moment-timezone",
"description": "Parse and display dates in any timezone",
"version": "0.5.31",
"version": "0.5.32",
"keywords": [
"moment",
"date",
Expand Down

0 comments on commit eca9423

Please sign in to comment.