fix date-interval