Replace datetime.date by datetime.datetime to be compatible with stored timestamps.