Fix SQLite date format string
The formatted string was invalid before, causing date parsing to fail. This fixes that.
Ref T529