Fix 'dateFormat' helper bug where date was not rendering correctly