fixed the date for monthly interval display.