Skip to content

Commit

Permalink
Closes github issue #1 (#1).
Browse files Browse the repository at this point in the history
  • Loading branch information
apeiros committed Nov 12, 2012
1 parent bef6dc8 commit 116ecb9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/chronos/zone.rb
Expand Up @@ -77,7 +77,7 @@ class Zone

# map old/military timezone names to UTC
# corresponding utc, isDST[BOOL]
Map = Hash.new { |hash, key| key }.merge!({
Map = {
# for ::DateTime
'-12:00' => ['utc-12', false],
'-11:00' => ['utc-11', false],
Expand Down Expand Up @@ -145,6 +145,7 @@ class Zone
'cet' => ['utc+1', false],
'cest' => ['utc+1', true],
'alpha' => ['utc+1', false],
'eet' => ['utc+2', false],
'bravo' => ['utc+2', false],
'msk' => ['utc+3', false],
'charlie' => ['utc+3', false],
Expand All @@ -161,7 +162,7 @@ class Zone
'kilo' => ['utc+10', false],
'lima' => ['utc+11', false],
'mike' => ['utc+12', false]
})
}

# load locations from a tabfile
def self.load(tabfile, marshalfile=nil, marshal=true)
Expand Down

0 comments on commit 116ecb9

Please sign in to comment.