Make the default date format configurable.