psycopg2 should have converted the date to a datetime.date object