Changing timezones


Does anyone know how I can manipulate the timezone in ruby? I know that
I get a date from unix seconds like, but how can I get
something like, time_zone)? At the moment appears
to pull in the environment setting for timezone, which I could reset,
but that is not ideal …

Many thanks in advance.


TzInfo is your friend:

Pau Garcia i Quiles
(Due to the amount of work, I usually need 10 days to answer)

Quoting Sam J. [email protected]: