sports_direct 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sports_direct/normalization.rb +6 -0
- metadata +3 -3
@@ -22,6 +22,12 @@ module SportsDirect
|
|
22
22
|
def normalize_date(date, zone, locality, region, utc=false)
|
23
23
|
time_zone = {
|
24
24
|
'America/St_Thomas' => 'Atlantic Time (Canada)',
|
25
|
+
'Canada/Atlantic' => 'Atlantic Time (Canada)',
|
26
|
+
'Canada/Central' => 'Central Time (US & Canada)',
|
27
|
+
'Canada/Eastern' => 'Eastern Time (US & Canada)',
|
28
|
+
'Canada/Mountain' => 'Mountain Time (US & Canada)',
|
29
|
+
'Canada/Newfoundland' => 'Newfoundland',
|
30
|
+
'Canada/Pacific' => 'Pacific Time (US & Canada)',
|
25
31
|
'EST' => 'Eastern Time (US & Canada)',
|
26
32
|
'Etc/GMT+12' => nil,
|
27
33
|
'US/Alaska' => 'Alaska',
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 7
|
9
|
+
version: 0.0.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Tyler Hunt
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date:
|
17
|
+
date: 2011-01-03 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|