datamapper / do

DataObjects
147 stars 73 forks source link

Bugfix for postgres timestamptz handling #6

Closed psanford closed 13 years ago

psanford commented 13 years ago

This patch fixes an issue converting timestamptz columns into Time objects. Timestamptzs with five digits of sub-second precision (like 2010-12-15 14:32:08.49377-08) were previously shifted 2048 minutes into the past.

dbussink commented 13 years ago

I've applied this manually, because in the mean time the code has been completely restructured. Thnx for finding this issue.