golang xorm时区问题

mysql连接后面加   &loc=Local

否则执行sql的时间格式,存到数据库会按0时区 UTC存储
posted @ 2019-12-13 15:56  zipon  阅读(804)  评论(0)    收藏  举报