Fixed Date.parse in controller.