Allow dateformat to be specified

The default dateformat behaviour doesn't use l10n. By setting it to the string
'DATE_FORMAT' it does the same thing but with l10n formatting.