Fixed Set Date Bug in Gregorian mode