change the group to the date