Closed
Description
Beginning with MySQL 5.6.4, a field of type DATETIME or TIMESTAMP can have a resolution up to one microsecond. See http://dev.mysql.com/doc/refman/5.6/en/datetime.html for details.
go-mysq-driver/mysql with parseTime=true does currently not recognize fractions of a second. You need to define a field as DATETIME(0) (or skip the precision) to make MySQL output the time without fractional part.
Can the parser be extended to recognize fractions?
Metadata
Metadata
Assignees
Labels
No labels