Fix SQLite datetime issues
Fix SQLite datetime issues

The raw datetime string from raw emails doesn't conform to SQLite standard. Therefore it can't be sorted. This fix will make it conforming and sort-able by SQLite.
natefinch/discourse,natefinch/discourse