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?

貢獻者指南