go-sql-driver/mysql

NullTime does not use DSN location

Open

#568 opened on 2017年4月14日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Go (1,789 forks)batch import
help wanted

Repository metrics

Stars
 (9,946 stars)
PR merge metrics
 (平均マージ 5h 59m) (30d で 4 merged PRs)

説明

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?

コントリビューターガイド