format time with data-type="date" for webform