Skip to content

Commit

Permalink
Fix MySQL datetime format to always have leading zeros
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigozhou committed Feb 9, 2023
1 parent 304bc98 commit 51fc7d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func newMySQLQueryConverter(
}

func (c *mysqlQueryConverter) getDatetimeFormat() string {
return "2006-01-02 15:04:05.999999"
return "2006-01-02 15:04:05.000000"
}

func (c *mysqlQueryConverter) convertKeywordListComparisonExpr(
Expand Down

0 comments on commit 51fc7d4

Please sign in to comment.