fixed max time to exactly one day