Date parsing fix for front end