Fix SQLite date format string
The formatted string was invalid before, causing date parsing to fail. This fixes that. Ref T529
This commit is contained in:
parent
bc1b3fdfb7
commit
6f4c004e8c
|
@ -108,7 +108,7 @@ type datastore struct {
|
|||
|
||||
func (db *datastore) now() string {
|
||||
if db.driverName == driverSQLite {
|
||||
return "strftime('%Y-%m-%d %H-%M-%S','now')"
|
||||
return "strftime('%Y-%m-%d %H:%M:%S','now')"
|
||||
}
|
||||
return "NOW()"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue