Closed ianfiske closed 10 years ago
The petlx.sql.make_sqlalchemy_column function incorrectly returns a Date column when passed an array of datetime objects:
petlx.sql.make_sqlalchemy_column
make_sqlalchemy_column([datetime(2014, 1, 1, 1, 1, 1, 1), datetime(2014, 1, 1, 1, 1, 1, 2)], 'name')
returns a Date() column. It should return a DateTime() column. I've added a pull request that fixes this.
Date()
DateTime()
The
petlx.sql.make_sqlalchemy_column
function incorrectly returns a Date column when passed an array of datetime objects:returns a
Date()
column. It should return aDateTime()
column. I've added a pull request that fixes this.