Dealing with TimeZones

What is the easies to use package for dealing with time zones and DST
changes?

I just need to be able to track when to start various activities bases
on local times.

The problem is I have to trace a few time zones.

It looks like TZFile will do the job, but I am not sure how stable it
is.
(It uses the zone files on the local system)

http://www.a-k-r.org/ruby-tzfile/

Or maybe there are other packages I have over looked.

I did look at TZinfo, but is seems to be static code not live data.

Any suggestions?

tom

Hi Thomas,

I would take a look at TZInfo again. Since it’s used by rails, it
should be pretty reliable.
But I didn’t really get the static code vs live data reflection. The
tables need to be updated once in a while, but that is fixed by
upgrading the gem. Is this what you mean ?

http://tzinfo.rubyforge.org/doc/

Cheers,
zimbatm

2011/1/15 Thomas A. Moulton [email protected]:

Yes, but to get the update my program would need to re-load, not to
mention I would have to manually, I would often forget, which defeats
the purpose

Tom

2011/1/16 Thomas A. Moulton [email protected]:

Yes, but to get the update my program would need to re-load, not to mention I
would have to manually, I would often forget, which defeats the purpose

Yeah I know what you mean. It’s not a problem for most people because
they push code changes to their product anyways. I’m afraid not much
people need a fire and forget solution like you do.

Sorry I couldn’t help.

Don’t you acknowledge that it is the best time to receive the home loans,
which would make your dreams come true.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs