diff --git a/engine.go b/engine.go index f4459cf1..2b1408bf 100644 --- a/engine.go +++ b/engine.go @@ -1546,6 +1546,7 @@ func (engine *Engine) formatTime(sqlTypeName string, t time.Time) (v interface{} v = t.Format("2006-01-02") case core.DateTime, core.TimeStamp: v = t.Format("2006-01-02 15:04:05.999") + if engine.dialect.DBType() == "sqlite3" { v = t.UTC().Format("2006-01-02 15:04:05.999") }