localize date format

depending on user configuration (e.g. browser language) change the format. Germany would be DD.MM.YYYY