pydata/pandas — pull request #8090 by jorisvandenbossche (2014-08-22 09:41:46+00:00)
Title: ENH: add support for datetime.date/time in to_sql (GH6932)

Closes #6932

Support for writing `datetime.date` and `datetime.time` object columns with `to_sql`.

Works nicely for the sqlalchemy mode, for sqlite fallback it writes OK, but comes back as object strings (this is also the case for datetime)

Remaining question:
* when reading the data back in `TIME` columns are converted back to `datetime.time`, but `DATE` columns are converted to `datetime64` and not `datetime.date`. Is this OK? Or better try to convert to `datetime.date`?