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:
Matt Baer 2018-12-08 12:28:52 -05:00
parent bc1b3fdfb7
commit 6f4c004e8c
1 changed files with 1 additions and 1 deletions

View File

@ -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()"
}