handle datetime.date types as datetime.datetime type