Fix the bug for incorrectly converting the foramt of SummerDate and WinterDate