go-sql-driver/mysql

NullTime does not use DSN location

Open

#568 建立於 2017年4月14日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Go (1,789 fork)batch import
help wanted

倉庫指標

Star
 (9,946 star)
PR 合併指標
 (平均合併 5小時 59分鐘) (30 天內合併 4 個 PR)

描述

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?

貢獻者指南