Grouping tasks by days and months