Replaced strftime with to_date in CalendarsControllerTest