go-sql-driver/mysql

NullTime does not use DSN location

Open

#568 geöffnet am 14. Apr. 2017

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Go (1.789 Forks)batch import
help wanted

Repository-Metriken

Stars
 (9.946 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 5h 59m) (4 gemergte PRs in 30 T)

Beschreibung

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?

Contributor Guide