-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Using package version 0.1.1, node version 0.10.17 and postgres version 9.1.9 I'm experiencing an issue with incorrect timestamps.
I changed nothing from the default configuration for the package and yet timestamps still appear to be exactly 7 hours ahead of local time. For instance, new Date() reports the correct time at Thu Sep 05 2013 09:11:14 GMT-0700 (PDT). Running SELECT NOW() on my postgres instance also returns the expected time PDT. However, creating and saving a timestamped ORM model instance and then immediately reloading it gives it a created_at property of Thu Sep 05 2013 16:11:14 GMT-0700 (PDT) which is not PDT but GMT-0.
If new Date() is the default source of date and time information for timestamps, why are my timestamps in GMT-0?