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 (9,946 stars) (1,789 forks)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