I am using gorm http://jinzhu.me/gorm/ to handle database in my golang project. When i update a record, the update_at time is not same as my local time server. How do i solve it??
1条回答 默认 最新
dq62957 2016-07-29 04:40关注I found my issue. When connect to database, i miss "&loc=Local" parameter. And it causes my above problem. Thanks for watching!
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报