-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtimezones.js
More file actions
114 lines (114 loc) · 2.26 KB
/
timezones.js
File metadata and controls
114 lines (114 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// This only North American time zones. Eventually we will want
// to support more than this
var timeZones = module.exports = {
'ADT': {
name: 'Atlantic Daylight Time',
offset: -3,
daylightSavingsOffset: -3
},
'AST':{
name: 'Atlantic Standard Time',
offset: -4,
daylightSavingsOffset: -3
},
'AKDT': {
name: 'Alaska Daylight Time',
offset: -8,
daylightSavingsOffset: -8
},
'AKST':{
name: 'Alaska Standard Time',
offset: -9,
daylightSavingsOffset: -8
},
'CDT':{
name: 'Central Daylight Time',
offset: -5,
daylightSavingsOffset: -5
},
'CST':{
name: 'Central Standard Time',
offset: -6,
daylightSavingsOffset: -5
},
'EDT':{
name: 'Eastern Daylight Time',
offset: -4,
daylightSavingsOffset: -4
},
'EGST':{
name: 'Eastern Greenland Summer Time',
offset: 0,
daylightSavingsOffset: 0
},
'EGT':{
name: 'East Greenland Time',
offset: -1,
daylightSavingsOffset: 0
},
'EST':{
name: 'Eastern Standard Time',
offset: -5,
daylightSavingsOffset: -4
},
'HADT':{
name: 'Hawaii-Aleutian Daylight Time',
offset: -9,
daylightSavingsOffset: -9
},
'HAST':{
name: 'Hawaii-Aleutian Standard Time',
offset: -10,
daylightSavingsOffset: -9
},
'MDT':{
name: 'Mountain Daylight Time',
offset: -6,
daylightSavingsOffset: -6
},
'MST':{
name: 'Mountain Standard Time',
offset: -7,
daylightSavingsOffset: -6
},
'NDT':{
name: ' Newfoundland Daylight Time',
offset: -2.5,
daylightSavingsOffset: -2.5
},
'NST':{
name: 'Newfoundland Standard Time',
offset: -3.5,
daylightSavingsOffset: -2.5
},
'PDT':{
name: 'Pacific Daylight Time',
offset: -7,
daylightSavingsOffset: -7
},
'PMDT':{
name: 'Pierre & Miquelon Daylight Time',
offset: -2,
daylightSavingsOffset: -2
},
'PMST':{
name: 'Pierre & Miquelon Standard Time',
offset: -3,
daylightSavingsOffset: -2
},
'PST':{
name: 'Pacific Standard Time',
offset: -8,
daylightSavingsOffset: -7
},
'WGST':{
name: 'Western Greenland Summer Time',
offset: -2,
daylightSavingsOffset: -2
},
'WGT':{
name: 'West Greenland Time',
offset: -3,
daylightSavingsOffset: -2
}
};