In not sure if i'm missing something but it appears the GMT +- timezones are
inverted.
I'm in Brisbane/Australia (GMT + 10), so i'm expecting it to behave similar
to Etc/GMT+10
code
require 'tzinfo'
tz = TZInfo::Timezone.get('Australia/Brisbane')
local = tz.utc_to_local(Time.utc(2005,8,29,12,0,0))
=> "Mon Aug 29 22:00:00 UTC 2005" #what i would expect.... (10 hrs after
GMT)
require 'tzinfo'
tz = TZInfo::Timezone.get('Etc/GMT+10')
local = tz.utc_to_local(Time.utc(2005,8,29,12,0,0))
=> "Mon Aug 29 02:00:00 UTC 2005" #this seems the opposite to me... (10 hrs
before GMT)
Is my assumption incorrect?
Thanks
Mark
_______________________________________________
TZInfo-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/tzinfo-users