Fix dates on task by timerange