Does anyone know the best way to track time zone information. There
seem to be much documentation on this. So far it seems like a simple db
create table accounts (
id int unsigned not null auto_increment,
name varchar(50) not null,
time_zone varchar(50) not null,
primary key (id)
and a class like
class Account < AR
composed_of :time_zone, :class_name => TimeZone, :mapping =>
There also seems to be a TZInfo library that supports daylight savings.
seems strange that the TimeZone class in rails doesn’t support daylight
savings as Basecamp from 37Signals uses timezones and I’m sure they
have to support it… interesting.
Can anyone shed some light on this.