Corrected day count in calendar.