Make the dateFormat configurable.