alimanfoo/petlx — pull request #65 by ianfiske (2014-10-14 20:26:43+00:00)
Title: Fix bug that prevented forced datetime objects to become SQLAlchemy Date() columns

Since datetime objects are instances of the date class, the order of checking for types is important. Since check against date came before datetime, that check returned true. The fix is simple: move the check for datetime to come before the check for date.