pre modify calendar format