Bug with SQLite and Postgres not handling time fields the same