1
- # [ Moment Timezone] ( http://momentjs.com/timezone )
1
+ # [ Moment Timezone] ( http://momentjs.com/timezone/ )
2
2
3
- [ ![ 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 )
3
+ [ ![ NPM version] [ npm-version-image ]] [ npm-url ]
4
+ [ ![ NPM downloads] [ npm-downloads-image ]] [ npm-download-url ]
5
+ [ ![ MIT License] [ license-image ]] [ license-url ]
6
+ [ ![ Build Status] [ travis-image ]] [ travis-url ]
7
+ [ ![ FOSSA Status] [ fossa-badge-image ]] [ fossa-badge-url ]
8
+ [ ![ SemVer compatibility] [ semver-image ]] [ semver-url ]
4
9
5
- [ ![ 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 ]
10
+ IANA Time zone support for Moment.js
6
11
7
- IANA Time Zone Database + [ Moment.js] ( http://momentjs.com ) .
12
+ ## Project Status
13
+
14
+ 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.
15
+
16
+ For more details and recommendations, please see [ Project Status] ( https://momentjs.com/docs/#/-project-status/ ) in the Moment docs.
17
+
18
+ * Thank you.*
19
+
20
+ ## Resources
21
+
22
+ - [ Documentation] ( https://momentjs.com/timezone/docs/ )
23
+ - [ Changelog] ( changelog.md )
24
+ - [ Stack Overflow] ( https://stackoverflow.com/questions/tagged/moment-timezone )
25
+
26
+ ## Examples
8
27
9
28
``` js
10
29
var june = moment (" 2014-06-01T12:00:00Z" );
@@ -20,17 +39,30 @@ dec.tz('Asia/Tokyo').format('ha z'); // 9pm JST
20
39
dec .tz (' Australia/Sydney' ).format (' ha z' ); // 11pm EST
21
40
```
22
41
23
- #### [ Contribute code or compile time zone data ] ( contributing.md )
42
+ ## License
24
43
25
- #### [ Read the changelog ] ( changelog.md )
44
+ Moment-timezone is freely distributable under the terms of the [ MIT license ] [ license-url ] .
26
45
46
+ [ ![ FOSSA Status] [ fossa-large-image ]] [ fossa-large-url ]
27
47
28
- [ license-image ] : http://img.shields.io/badge/license-MIT-blue.svg?style=flat
48
+
49
+ [ license-image ] : https://img.shields.io/badge/license-MIT-blue.svg?style=flat
29
50
[ license-url ] : LICENSE
30
51
31
52
[ npm-url ] : https://npmjs.org/package/moment-timezone
32
- [ npm-version-image ] : http://img.shields.io/npm/v/moment-timezone.svg?style=flat
33
- [ npm-downloads-image ] : http://img.shields.io/npm/dm/moment-timezone.svg?style=flat
53
+ [ npm-version-image ] : https://img.shields.io/npm/v/moment-timezone.svg?style=flat
54
+
55
+ [ npm-downloads-image ] : https://img.shields.io/npm/dm/moment-timezone.svg?style=flat
56
+ [ npm-download-url ] : https://npmcharts.com/compare/moment-timezone?minimal=true
57
+
58
+ [ travis-url ] : https://travis-ci.org/moment/moment-timezone
59
+ [ travis-image ] : https://img.shields.io/travis/moment/moment-timezone/develop.svg?style=flat
60
+
61
+ [ fossa-badge-image ] : https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone.svg?type=shield
62
+ [ fossa-badge-url ] : https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone?ref=badge_shield
63
+
64
+ [ fossa-large-image ] : https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone.svg?type=large
65
+ [ fossa-large-url ] : https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone?ref=badge_large
34
66
35
- [ travis-url ] : http ://travis-ci.org/moment/ moment-timezone
36
- [ travis-image ] : http ://img.shields.io/travis/moment/moment-timezone/develop.svg?style=flat
67
+ [ semver-image ] : https ://api.dependabot.com/badges/compatibility_score?dependency-name= moment-timezone&package-manager=npm_and_yarn&version-scheme=semver
68
+ [ semver-url ] : https ://dependabot.com/compatibility-score.html?dependency-name=moment-timezone&package-manager=npm_and_yarn&version-scheme=semver
0 commit comments