mirror of
https://github.com/writefreely/writefreely
synced 2024-11-24 09:33:11 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue