render days of the month correctly