Postgres cannot handle dates as strings