Change the day of group history according to the domain