fix date-floor