handle datetime.date types as datetime.datetime type
bugfix
Merge branch 'master' into remove_hash
bugfixes