jinzhu/gorm — pull request #67 by phanle (2014-02-21 22:37:51+00:00)
Title: Timestamp should always be saved in UTC.

When saving timestamps to the database, the timezone information is truncated. When the timestamp is loaded again later, the timezone is changed, resulting in incorrect data.

Rails solves this by always saving timestamps as UTC. This pull request only fixes the built-in CreatedAt and UpdatedAt behavior, not any timestamp the user saves. If you like this approach, we could try to fix it globally.