houseabsolute / DateTime-TimeZone

Time zone object base class and factory
https://metacpan.org/release/DateTime-TimeZone/
Other
9 stars 25 forks source link

offset_as_seconds: handle integer-only offsets (Etc/GMT[+-]nn) #8

Closed brong closed 8 years ago

brong commented 8 years ago

This fixes the bug with parsing integer only hour gmtoff values (aka the Etc/GMT things) that I introduced in backing out the reversed logic... but with the complexity in the same place as the other parsers.

brong commented 8 years ago

Dang, this breaks because of invalid offset-only tests. sigh. I guess I'll push that change back out to the parsing layer again.

autarch commented 8 years ago

Merged from the CLI. Thanks!