Displaying 1 result from an estimated 1 matches for "ljk9ock3lhpbpgseml150g".
2011 Oct 25
6
Date formats
Just realized I have a nice problem.
using Postgresql...
When I save something via Rails to the table it''s saved with a GMT
offset (so 12:00 becomes 16:00)
But the database is configured to save everything as GMT.
Which means -- when I query it via SQL it''s coming back as now + 4
hours instead of just plain now.
Where/How do I get this back in sync?
--
You received this