go-sql-driver/mysql

NullTime does not use DSN location

Open

#568 aberto em 14 de abr. de 2017

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Go (1.789 forks)batch import
help wanted

Métricas do repositório

Stars
 (9.946 stars)
Métricas de merge de PR
 (Mesclagem média 5h 59m) (4 fundiu PRs em 30d)

Description

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?

Guia do colaborador