go-sql-driver/mysql

NullTime does not use DSN location

Open

#568 创建于 2017年4月14日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Go (9,946 star) (1,789 fork)batch import
help wanted

描述

Issue description

The NullTime helper is hardcoded to parse in location time.UTC but should really use the location set in the DSN (which defaults to UTC). Maybe you could have a variable in the utils timeZone that gets set during DSN Parsing?

贡献者指南

NullTime does not use DSN location · go-sql-driver/mysql#568 | Good First Issue