datamapper / do

DataObjects
147 stars 73 forks source link

Time is losing timezone from DB and assuming local time zone #79

Open tpitale opened 9 years ago

tpitale commented 9 years ago

For columns that are timestamp with zone … and DataMapper properties that are Time, the time zone is assumed to be local by the autocasting done in do_postgres (I haven't checked other drivers). This ignores the actual time zone for the data in that column.