fix(date): convert date string into a date object

related to CAM-2833