Skip to content

Fix dates in the far past and far future

Andrew Ruthven requested to merge MR116-old-dates into master

This is a combination of !76 (closed) and !116 (closed) as they're both related, and I had to rebase them both to be able to merge them.

We now quote the timestamps when inserting them into the database. This resolves PostgreSQL incorrectly thinking that dates are integers. This change allows us to remove the regex that only considered some dates to append T000000Z onto to convert them into timestamps.

Fixes #233 (closed)

Merge request reports