Format date according to system-wide settings

The date is not formatted according to the current locale and the
user's date-order preference, that takes precedence.
Merge pull request #2325 from patricks/master

Format date according to system-wide settings