Hi,
Thanks for the work that has gone into making tzinfo available, and
for making it freely available!
I'm trying to figure out a way to obtain a Time instance that has a
'specific' timezone. The twist is I just start with a time string.
For example
require 'tzinfo'
# Returns my time zone (GMT +11)
Time.parse("09:30").iso8601 # "2008-02-06T09:30:00+11:00"
What I'd like to be able to do is something like:
Time.parse("09:30", other_tz).iso8601
which would return the deired timezone, say:
"2008-02-06T09:30:00+5:00"
Is there a way to do this using tzinfo?
Appreciate any suggestions.
Cheers
Mark
_______________________________________________
TZInfo-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/tzinfo-users