tp_common 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/gemfiles/rails_4.gemfile.lock +1 -1
- data/gemfiles/rails_5.gemfile.lock +1 -1
- data/gemfiles/rails_6.gemfile.lock +1 -1
- data/gemfiles/rails_latest.gemfile.lock +1 -1
- data/lib/tp_common/timezones/config/reversed.yml +147 -6
- data/lib/tp_common/timezones/reversed.rb +3 -3
- data/lib/tp_common/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e1fdb837aadd4f68c6b431f858af556763245cd499784a2b6d7453eee291957
|
4
|
+
data.tar.gz: 23d5687325c98ad9d94e3fee7686ee56425b04a36439c15095bffaa90a7c542e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b63446c9d98c4326659aedde00298054e4a2a13b131ff8851ea1b44451b8abe19362c3ce88b52c95294ee044612fadf318767fea0a8da455c683de838e16339
|
7
|
+
data.tar.gz: 3429d1913791f116ef6643490101820a17d697a3d17c6d08fe990f2c0e0158849db2d33b899a44370be07630969fd1e4ce872081fdef036bb638926fb94d0d42
|
@@ -9,10 +9,13 @@ gmt-11: &gmt-11
|
|
9
9
|
- 'GMT-11'
|
10
10
|
GMT_M1100+1:
|
11
11
|
- 'American Samoa'
|
12
|
+
- 'American Samoa GMT-11'
|
12
13
|
GMT_M1100+2:
|
13
14
|
- 'International Date Line West'
|
15
|
+
- 'International Date Line West GMT-11'
|
14
16
|
GMT_M1100+3:
|
15
17
|
- 'Midway Island'
|
18
|
+
- 'Midway Island GMT-11'
|
16
19
|
|
17
20
|
gmt-10: &gmt-10
|
18
21
|
GMT_M1000:
|
@@ -20,6 +23,7 @@ gmt-10: &gmt-10
|
|
20
23
|
- 'GMT-10'
|
21
24
|
GMT_M1000+1:
|
22
25
|
- 'Hawaii'
|
26
|
+
- 'Hawaii GMT-10'
|
23
27
|
|
24
28
|
gmt-9: &gmt-9
|
25
29
|
GMT_M0900:
|
@@ -27,6 +31,7 @@ gmt-9: &gmt-9
|
|
27
31
|
- 'GMT-9'
|
28
32
|
GMT_M0900+1:
|
29
33
|
- 'Alaska'
|
34
|
+
- 'Alaska GMT-9'
|
30
35
|
|
31
36
|
gmt-8: &gmt-8
|
32
37
|
GMT_M0800:
|
@@ -34,12 +39,16 @@ gmt-8: &gmt-8
|
|
34
39
|
- 'GMT-8'
|
35
40
|
GMT_M0800+1:
|
36
41
|
- 'Pacific Time (US & Canada)'
|
42
|
+
- 'Pacific Time (US & Canada) GMT-8'
|
37
43
|
- 'Pacific Time'
|
44
|
+
- 'Pacific Time GMT-8'
|
38
45
|
- PST
|
46
|
+
- PST GMT-8
|
39
47
|
- PDT
|
40
|
-
-
|
48
|
+
- PDT GMT-8
|
41
49
|
GMT_M0800+2:
|
42
50
|
- 'Tijuana'
|
51
|
+
- 'Tijuana GMT-8'
|
43
52
|
|
44
53
|
gmt-7: &gmt-7
|
45
54
|
GMT_M0700:
|
@@ -47,16 +56,22 @@ gmt-7: &gmt-7
|
|
47
56
|
- 'GMT-7'
|
48
57
|
GMT_M0700+1:
|
49
58
|
- 'Arizona'
|
59
|
+
- 'Arizona GMT-7'
|
50
60
|
GMT_M0700+2:
|
51
61
|
- 'Chihuahua'
|
62
|
+
- 'Chihuahua GMT-7'
|
52
63
|
GMT_M0700+3:
|
53
64
|
- 'Mazatlan'
|
65
|
+
- 'Mazatlan GMT-7'
|
54
66
|
GMT_M0700+4:
|
55
67
|
- 'Mountain Time (US & Canada)'
|
68
|
+
- 'Mountain Time (US & Canada) GMT-7'
|
56
69
|
- 'Mountain Time'
|
70
|
+
- 'Mountain Time GMT-7'
|
57
71
|
- MST
|
72
|
+
- MST GMT-7
|
58
73
|
- MDT
|
59
|
-
-
|
74
|
+
- MDT GMT-7
|
60
75
|
|
61
76
|
gmt-6: &gmt-6
|
62
77
|
GMT_M0600:
|
@@ -64,20 +79,28 @@ gmt-6: &gmt-6
|
|
64
79
|
- 'GMT-6'
|
65
80
|
GMT_M0600+1:
|
66
81
|
- 'Central America'
|
82
|
+
- 'Central America GMT-6'
|
67
83
|
GMT_M0600+2:
|
68
84
|
- 'Central Time (US & Canada)'
|
85
|
+
- 'Central Time (US & Canada) GMT-6'
|
69
86
|
- 'Central Time'
|
87
|
+
- 'Central Time GMT-6'
|
70
88
|
- CST
|
89
|
+
- CST GMT-6
|
71
90
|
- CDT
|
72
|
-
-
|
91
|
+
- CDT GMT-6
|
73
92
|
GMT_M0600+3:
|
74
93
|
- 'Guadalajara'
|
94
|
+
- 'Guadalajara GMT-6'
|
75
95
|
GMT_M0600+4:
|
76
96
|
- 'Mexico City'
|
97
|
+
- 'Mexico City GMT-6'
|
77
98
|
GMT_M0600+5:
|
78
99
|
- 'Monterrey'
|
100
|
+
- 'Monterrey GMT-6'
|
79
101
|
GMT_M0600+6:
|
80
102
|
- 'Saskatchewan'
|
103
|
+
- 'Saskatchewan GMT-6'
|
81
104
|
|
82
105
|
gmt-5: &gmt-5
|
83
106
|
GMT_M0500:
|
@@ -85,19 +108,27 @@ gmt-5: &gmt-5
|
|
85
108
|
- 'GMT-5'
|
86
109
|
GMT_M0500+1:
|
87
110
|
- 'Bogota'
|
111
|
+
- 'Bogota GMT-5'
|
88
112
|
GMT_M0500+2:
|
89
113
|
- 'Eastern Time (US & Canada)'
|
114
|
+
- 'Eastern Time (US & Canada) GMT-5'
|
90
115
|
- 'Eastern Time'
|
116
|
+
- 'Eastern Time GMT-5'
|
91
117
|
- EST
|
118
|
+
- EST GMT-5
|
92
119
|
- EDT
|
93
|
-
-
|
120
|
+
- EDT GMT-5
|
94
121
|
GMT_M0500+3:
|
95
122
|
- 'Indiana (East)'
|
123
|
+
- 'Indiana (East) GMT-5'
|
96
124
|
- 'Indiana'
|
125
|
+
- 'Indiana GMT-5'
|
97
126
|
GMT_M0500+4:
|
98
127
|
- 'Lima'
|
128
|
+
- 'Lima GMT-5'
|
99
129
|
GMT_M0500+5:
|
100
130
|
- 'Quito'
|
131
|
+
- 'Quito GMT-5'
|
101
132
|
|
102
133
|
gmt-4: &gmt-4
|
103
134
|
GMT_M0400:
|
@@ -105,15 +136,21 @@ gmt-4: &gmt-4
|
|
105
136
|
- 'GMT-4'
|
106
137
|
GMT_M0400+1:
|
107
138
|
- 'Atlantic Time (Canada)'
|
139
|
+
- 'Atlantic Time (Canada) GMT-4'
|
108
140
|
- 'Atlantic Time'
|
141
|
+
- 'Atlantic Time GMT-4'
|
109
142
|
GMT_M0400+2:
|
110
143
|
- 'Caracas'
|
144
|
+
- 'Caracas GMT-4'
|
111
145
|
GMT_M0400+3:
|
112
146
|
- 'Georgetown'
|
147
|
+
- 'Georgetown GMT-4'
|
113
148
|
GMT_M0400+4:
|
114
149
|
- 'La Paz'
|
150
|
+
- 'La Paz GMT-4'
|
115
151
|
GMT_M0400+5:
|
116
152
|
- 'Santiago'
|
153
|
+
- 'Santiago GMT-4'
|
117
154
|
|
118
155
|
gmt-3: &gmt-3
|
119
156
|
GMT_M0300:
|
@@ -121,12 +158,16 @@ gmt-3: &gmt-3
|
|
121
158
|
- 'GMT-3'
|
122
159
|
GMT_M0300+1:
|
123
160
|
- 'Brasilia'
|
161
|
+
- 'Brasilia GMT-3'
|
124
162
|
GMT_M0300+2:
|
125
163
|
- 'Buenos Aires'
|
164
|
+
- 'Buenos Aires GMT-3'
|
126
165
|
GMT_M0300+3:
|
127
166
|
- 'Greenland'
|
167
|
+
- 'Greenland GMT-3'
|
128
168
|
GMT_M0300+4:
|
129
169
|
- 'Montevideo'
|
170
|
+
- 'Montevideo GMT-3'
|
130
171
|
|
131
172
|
gmt-2: &gmt-2
|
132
173
|
GMT_M0200:
|
@@ -134,6 +175,7 @@ gmt-2: &gmt-2
|
|
134
175
|
- 'GMT-2'
|
135
176
|
GMT_M0200+1:
|
136
177
|
- 'Mid-Atlantic'
|
178
|
+
- 'Mid-Atlantic GMT-2'
|
137
179
|
|
138
180
|
gmt-1: &gmt-1
|
139
181
|
GMT_M0100:
|
@@ -141,9 +183,10 @@ gmt-1: &gmt-1
|
|
141
183
|
- 'GMT-1'
|
142
184
|
GMT_M0100+1:
|
143
185
|
- 'Azores'
|
186
|
+
- 'Azores GMT-1'
|
144
187
|
GMT_M0100+2:
|
145
188
|
- 'Cape Verde Is.'
|
146
|
-
- 'Cape Verde'
|
189
|
+
- 'Cape Verde Is. GMT-1'
|
147
190
|
|
148
191
|
gmt-0: &gmt-0
|
149
192
|
GMT_M0000:
|
@@ -151,18 +194,25 @@ gmt-0: &gmt-0
|
|
151
194
|
- 'GMT-0'
|
152
195
|
GMT_M0000+1:
|
153
196
|
- 'Casablanca'
|
197
|
+
- 'Casablanca GMT-0'
|
154
198
|
GMT_M0000+2:
|
155
199
|
- 'Dublin'
|
200
|
+
- 'Dublin GMT-0'
|
156
201
|
GMT_M0000+3:
|
157
202
|
- 'Edinburgh'
|
203
|
+
- 'Edinburgh GMT-0'
|
158
204
|
GMT_M0000+4:
|
159
205
|
- 'Lisbon'
|
206
|
+
- 'Lisbon GMT-0'
|
160
207
|
GMT_M0000+5:
|
161
208
|
- 'London'
|
209
|
+
- 'London GMT-0'
|
162
210
|
GMT_M0000+6:
|
163
211
|
- 'Monrovia'
|
212
|
+
- 'Monrovia GMT-0'
|
164
213
|
GMT_M0000+7:
|
165
214
|
- 'UTC'
|
215
|
+
- 'UTC GMT-0'
|
166
216
|
|
167
217
|
gmt1: &gmt1
|
168
218
|
GMT_P0100:
|
@@ -170,44 +220,64 @@ gmt1: &gmt1
|
|
170
220
|
- 'GMT+1'
|
171
221
|
GMT_P0100+1:
|
172
222
|
- 'Amsterdam'
|
223
|
+
- 'Amsterdam GMT+1'
|
173
224
|
GMT_P0100+2:
|
174
225
|
- 'Belgrade'
|
226
|
+
- 'Belgrade GMT+1'
|
175
227
|
GMT_P0100+3:
|
176
228
|
- 'Berlin'
|
229
|
+
- 'Berlin GMT+1'
|
177
230
|
GMT_P0100+4:
|
178
231
|
- 'Bern'
|
232
|
+
- 'Bern GMT+1'
|
179
233
|
GMT_P0100+5:
|
180
234
|
- 'Bratislava'
|
235
|
+
- 'Bratislava GMT+1'
|
181
236
|
GMT_P0100+6:
|
182
237
|
- 'Brussels'
|
238
|
+
- 'Brussels GMT+1'
|
183
239
|
GMT_P0100+7:
|
184
240
|
- 'Budapest'
|
241
|
+
- 'Budapest GMT+1'
|
185
242
|
GMT_P0100+8:
|
186
243
|
- 'Copenhagen'
|
244
|
+
- 'Copenhagen GMT+1'
|
187
245
|
GMT_P0100+9:
|
188
246
|
- 'Ljubljana'
|
247
|
+
- 'Ljubljana GMT+1'
|
189
248
|
GMT_P0100+10:
|
190
249
|
- 'Madrid'
|
250
|
+
- 'Madrid GMT+1'
|
191
251
|
GMT_P0100+11:
|
192
252
|
- 'Paris'
|
253
|
+
- 'Paris GMT+1'
|
193
254
|
GMT_P0100+12:
|
194
255
|
- 'Prague'
|
256
|
+
- 'Prague GMT+1'
|
195
257
|
GMT_P0100+13:
|
196
258
|
- 'Rome'
|
259
|
+
- 'Rome GMT+1'
|
197
260
|
GMT_P0100+14:
|
198
261
|
- 'Sarajevo'
|
262
|
+
- 'Sarajevo GMT+1'
|
199
263
|
GMT_P0100+15:
|
200
264
|
- 'Skopje'
|
265
|
+
- 'Skopje GMT+1'
|
201
266
|
GMT_P0100+16:
|
202
267
|
- 'Stockholm'
|
268
|
+
- 'Stockholm GMT+1'
|
203
269
|
GMT_P0100+17:
|
204
270
|
- 'Vienna'
|
271
|
+
- 'Vienna GMT+1'
|
205
272
|
GMT_P0100+18:
|
206
273
|
- 'Warsaw'
|
274
|
+
- 'Warsaw GMT+1'
|
207
275
|
GMT_P0100+19:
|
208
276
|
- 'West Central Africa'
|
277
|
+
- 'West Central Africa GMT+1'
|
209
278
|
GMT_P0100+20:
|
210
279
|
- 'Zagreb'
|
280
|
+
- 'Zagreb GMT+1'
|
211
281
|
|
212
282
|
gmt2: &gmt2
|
213
283
|
GMT_P0200:
|
@@ -215,30 +285,43 @@ gmt2: &gmt2
|
|
215
285
|
- 'GMT+2'
|
216
286
|
GMT_P0200+1:
|
217
287
|
- 'Athens'
|
288
|
+
- 'Athens GMT+2'
|
218
289
|
GMT_P0200+2:
|
219
290
|
- 'Bucharest'
|
291
|
+
- 'Bucharest GMT+2'
|
220
292
|
GMT_P0200+3:
|
221
293
|
- 'Cairo'
|
294
|
+
- 'Cairo GMT+2'
|
222
295
|
GMT_P0200+4:
|
223
296
|
- 'Harare'
|
297
|
+
- 'Harare GMT+2'
|
224
298
|
GMT_P0200+5:
|
225
299
|
- 'Helsinki'
|
300
|
+
- 'Helsinki GMT+2'
|
226
301
|
GMT_P0200+6:
|
227
302
|
- 'Jerusalem'
|
303
|
+
- 'Jerusalem GMT+2'
|
228
304
|
GMT_P0200+7:
|
229
305
|
- 'Kaliningrad'
|
306
|
+
- 'Kaliningrad GMT+2'
|
230
307
|
GMT_P0200+8:
|
231
308
|
- 'Kyiv'
|
309
|
+
- 'Kyiv GMT+2'
|
232
310
|
GMT_P0200+9:
|
233
311
|
- 'Pretoria'
|
312
|
+
- 'Pretoria GMT+2'
|
234
313
|
GMT_P0200+10:
|
235
314
|
- 'Riga'
|
315
|
+
- 'Riga GMT+2'
|
236
316
|
GMT_P0200+11:
|
237
317
|
- 'Sofia'
|
318
|
+
- 'Sofia GMT+2'
|
238
319
|
GMT_P0200+12:
|
239
320
|
- 'Tallinn'
|
321
|
+
- 'Tallinn GMT+2'
|
240
322
|
GMT_P0200+13:
|
241
323
|
- 'Vilnius'
|
324
|
+
- 'Vilnius GMT+2'
|
242
325
|
|
243
326
|
gmt3: &gmt3
|
244
327
|
GMT_P0300:
|
@@ -246,22 +329,31 @@ gmt3: &gmt3
|
|
246
329
|
- 'GMT+3'
|
247
330
|
GMT_P0300+1:
|
248
331
|
- 'Baghdad'
|
332
|
+
- 'Baghdad GMT+3'
|
249
333
|
GMT_P0300+2:
|
250
334
|
- 'Istanbul'
|
335
|
+
- 'Istanbul GMT+3'
|
251
336
|
GMT_P0300+3:
|
252
337
|
- 'Kuwait'
|
338
|
+
- 'Kuwait GMT+3'
|
253
339
|
GMT_P0300+4:
|
254
340
|
- 'Minsk'
|
341
|
+
- 'Minsk GMT+3'
|
255
342
|
GMT_P0300+5:
|
256
343
|
- 'Moscow'
|
344
|
+
- 'Moscow GMT+3'
|
257
345
|
GMT_P0300+6:
|
258
346
|
- 'Nairobi'
|
347
|
+
- 'Nairobi GMT+3'
|
259
348
|
GMT_P0300+7:
|
260
349
|
- 'Riyadh'
|
350
|
+
- 'Riyadh GMT+3'
|
261
351
|
GMT_P0300+8:
|
262
352
|
- 'St. Petersburg'
|
353
|
+
- 'St. Petersburg GMT+3'
|
263
354
|
GMT_P0300+9:
|
264
355
|
- 'Volgograd'
|
356
|
+
- 'Volgograd GMT+3'
|
265
357
|
|
266
358
|
gmt4: &gmt4
|
267
359
|
GMT_P0400:
|
@@ -269,16 +361,22 @@ gmt4: &gmt4
|
|
269
361
|
- 'GMT+4'
|
270
362
|
GMT_P0400+1:
|
271
363
|
- 'Abu Dhabi'
|
364
|
+
- 'Abu Dhabi GMT+4'
|
272
365
|
GMT_P0400+2:
|
273
366
|
- 'Baku'
|
367
|
+
- 'Baku GMT+4'
|
274
368
|
GMT_P0400+3:
|
275
369
|
- 'Muscat'
|
370
|
+
- 'Muscat GMT+4'
|
276
371
|
GMT_P0400+4:
|
277
372
|
- 'Samara'
|
373
|
+
- 'Samara GMT+4'
|
278
374
|
GMT_P0400+5:
|
279
375
|
- 'Tbilisi'
|
376
|
+
- 'Tbilisi GMT+4'
|
280
377
|
GMT_P0400+6:
|
281
378
|
- 'Yerevan'
|
379
|
+
- 'Yerevan GMT+4'
|
282
380
|
|
283
381
|
gmt5: &gmt5
|
284
382
|
GMT_P0500:
|
@@ -287,12 +385,16 @@ gmt5: &gmt5
|
|
287
385
|
- 'GMT+5.5'
|
288
386
|
GMT_P0500+1:
|
289
387
|
- 'Ekaterinburg'
|
388
|
+
- 'Ekaterinburg GMT+5'
|
290
389
|
GMT_P0500+2:
|
291
390
|
- 'Islamabad'
|
391
|
+
- 'Islamabad GMT+5'
|
292
392
|
GMT_P0500+3:
|
293
393
|
- 'Karachi'
|
394
|
+
- 'Karachi GMT+5'
|
294
395
|
GMT_P0500+4:
|
295
396
|
- 'Tashkent'
|
397
|
+
- 'Tashkent GMT+5'
|
296
398
|
|
297
399
|
gmt6: &gmt6
|
298
400
|
GMT_P0600:
|
@@ -300,12 +402,16 @@ gmt6: &gmt6
|
|
300
402
|
- 'GMT+6'
|
301
403
|
GMT_P0600+1:
|
302
404
|
- 'Almaty'
|
405
|
+
- 'Almaty GMT+6'
|
303
406
|
GMT_P0600+2:
|
304
407
|
- 'Astana'
|
408
|
+
- 'Astana GMT+6'
|
305
409
|
GMT_P0600+3:
|
306
410
|
- 'Dhaka'
|
411
|
+
- 'Dhaka GMT+6'
|
307
412
|
GMT_P0600+4:
|
308
413
|
- 'Urumqi'
|
414
|
+
- 'Urumqi GMT+6'
|
309
415
|
|
310
416
|
gmt7: &gmt7
|
311
417
|
GMT_P0700:
|
@@ -313,14 +419,19 @@ gmt7: &gmt7
|
|
313
419
|
- 'GMT+7'
|
314
420
|
GMT_P0700+1:
|
315
421
|
- 'Bangkok'
|
422
|
+
- 'Bangkok GMT+7'
|
316
423
|
GMT_P0700+2:
|
317
424
|
- 'Hanoi'
|
425
|
+
- 'Hanoi GMT+7'
|
318
426
|
GMT_P0700+3:
|
319
427
|
- 'Jakarta'
|
428
|
+
- 'Jakarta GMT+7'
|
320
429
|
GMT_P0700+4:
|
321
430
|
- 'Krasnoyarsk'
|
431
|
+
- 'Krasnoyarsk GMT+7'
|
322
432
|
GMT_P0700+5:
|
323
433
|
- 'Novosibirsk'
|
434
|
+
- 'Novosibirsk GMT+7'
|
324
435
|
|
325
436
|
gmt8: &gmt8
|
326
437
|
GMT_P0800:
|
@@ -328,22 +439,31 @@ gmt8: &gmt8
|
|
328
439
|
- 'GMT+8'
|
329
440
|
GMT_P0800+1:
|
330
441
|
- 'Beijing'
|
442
|
+
- 'Beijing GMT+8'
|
331
443
|
GMT_P0800+2:
|
332
444
|
- 'Chongqing'
|
445
|
+
- 'Chongqing GMT+8'
|
333
446
|
GMT_P0800+3:
|
334
447
|
- 'Hong Kong'
|
448
|
+
- 'Hong Kong GMT+8'
|
335
449
|
GMT_P0800+4:
|
336
450
|
- 'Irkutsk'
|
451
|
+
- 'Irkutsk GMT+8'
|
337
452
|
GMT_P0800+5:
|
338
453
|
- 'Kuala Lumpur'
|
454
|
+
- 'Kuala Lumpur GMT+8'
|
339
455
|
GMT_P0800+6:
|
340
456
|
- 'Perth'
|
457
|
+
- 'Perth GMT+8'
|
341
458
|
GMT_P0800+7:
|
342
459
|
- 'Singapore'
|
460
|
+
- 'Singapore GMT+8'
|
343
461
|
GMT_P0800+8:
|
344
462
|
- 'Taipei'
|
463
|
+
- 'Taipei GMT+8'
|
345
464
|
GMT_P0800+9:
|
346
465
|
- 'Ulaanbaatar'
|
466
|
+
- 'Ulaanbaatar GMT+8'
|
347
467
|
|
348
468
|
gmt9: &gmt9
|
349
469
|
GMT_P0900:
|
@@ -351,14 +471,19 @@ gmt9: &gmt9
|
|
351
471
|
- 'GMT+9'
|
352
472
|
GMT_P0900+1:
|
353
473
|
- 'Osaka'
|
474
|
+
- 'Osaka GMT+9'
|
354
475
|
GMT_P0900+2:
|
355
476
|
- 'Sapporo'
|
477
|
+
- 'Sapporo GMT+9'
|
356
478
|
GMT_P0900+3:
|
357
479
|
- 'Seoul'
|
480
|
+
- 'Seoul GMT+9'
|
358
481
|
GMT_P0900+4:
|
359
482
|
- 'Tokyo'
|
483
|
+
- 'Tokyo GMT+9'
|
360
484
|
GMT_P0900+5:
|
361
485
|
- 'Yakutsk'
|
486
|
+
- 'Yakutsk GMT+9'
|
362
487
|
|
363
488
|
gmt10: &gmt10
|
364
489
|
GMT_P1000:
|
@@ -366,20 +491,28 @@ gmt10: &gmt10
|
|
366
491
|
- 'GMT+10'
|
367
492
|
GMT_P1000+1:
|
368
493
|
- 'Brisbane'
|
494
|
+
- 'Brisbane GMT+10'
|
369
495
|
GMT_P1000+2:
|
370
496
|
- 'Canberra'
|
497
|
+
- 'Canberra GMT+10'
|
371
498
|
GMT_P1000+3:
|
372
499
|
- 'Guam'
|
500
|
+
- 'Guam GMT+10'
|
373
501
|
GMT_P1000+4:
|
374
502
|
- 'Hobart'
|
503
|
+
- 'Hobart GMT+10'
|
375
504
|
GMT_P1000+5:
|
376
505
|
- 'Melbourne'
|
506
|
+
- 'Melbourne GMT+10'
|
377
507
|
GMT_P1000+6:
|
378
508
|
- 'Port Moresby'
|
509
|
+
- 'Port Moresby GMT+10'
|
379
510
|
GMT_P1000+7:
|
380
511
|
- 'Sydney'
|
512
|
+
- 'Sydney GMT+10'
|
381
513
|
GMT_P1000+8:
|
382
514
|
- 'Vladivostok'
|
515
|
+
- 'Vladivostok GMT+10'
|
383
516
|
|
384
517
|
gmt11: &gmt11
|
385
518
|
GMT_P1100:
|
@@ -387,12 +520,16 @@ gmt11: &gmt11
|
|
387
520
|
- 'GMT+11'
|
388
521
|
GMT_P1100+1:
|
389
522
|
- 'Magadan'
|
523
|
+
- 'Magadan GMT+11'
|
390
524
|
GMT_P1100+2:
|
391
525
|
- 'New Caledonia'
|
526
|
+
- 'New Caledonia GMT+11'
|
392
527
|
GMT_P1100+3:
|
393
528
|
- 'Solomon Is.'
|
529
|
+
- 'Solomon Is. GMT+11'
|
394
530
|
GMT_P1100+4:
|
395
531
|
- 'Srednekolymsk'
|
532
|
+
- 'Srednekolymsk GMT+11'
|
396
533
|
|
397
534
|
gmt12: &gmt12
|
398
535
|
GMT_P1200:
|
@@ -400,15 +537,19 @@ gmt12: &gmt12
|
|
400
537
|
- 'GMT+12'
|
401
538
|
GMT_P1200+1:
|
402
539
|
- 'Auckland'
|
540
|
+
- 'Auckland GMT+12'
|
403
541
|
GMT_P1200+2:
|
404
542
|
- 'Fiji'
|
543
|
+
- 'Fiji GMT+12'
|
405
544
|
GMT_P1200+3:
|
406
545
|
- 'Kamchatka'
|
546
|
+
- 'Kamchatka GMT+12'
|
407
547
|
GMT_P1200+4:
|
408
548
|
- 'Marshall Is.'
|
409
|
-
- 'Marshall'
|
549
|
+
- 'Marshall Is. GMT+12'
|
410
550
|
GMT_P1200+5:
|
411
551
|
- 'Wellington'
|
552
|
+
- 'Wellington GMT+12'
|
412
553
|
|
413
554
|
all_zones: &default
|
414
555
|
<<: *gmt-12
|
@@ -2,16 +2,16 @@ module TpCommon
|
|
2
2
|
module Timezones
|
3
3
|
module Reversed
|
4
4
|
def self.[](zone_name)
|
5
|
-
TpCommon::Timezones::REVERSED_LIST_ZONES[similar_key(zone_name)
|
5
|
+
TpCommon::Timezones::REVERSED_LIST_ZONES[similar_key(zone_name)]
|
6
6
|
end
|
7
7
|
|
8
8
|
def self.similar_key(zone_name)
|
9
|
-
zone_name = zone_name.to_s.downcase
|
9
|
+
zone_name = zone_name.to_s.downcase.strip
|
10
10
|
if zone_name =~ /^(gmt[-\+]\d+)\.\d+$/
|
11
11
|
zone_name.split('.').first
|
12
12
|
else
|
13
13
|
zone_name
|
14
|
-
end
|
14
|
+
end.to_sym
|
15
15
|
end
|
16
16
|
private_class_method :similar_key
|
17
17
|
end
|
data/lib/tp_common/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tp_common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TINYpulse Devops
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|