Format dates from the javascript calendar helper using the global date format.