Localization in date macro broken?
Asked by ChristianWaidner:

We are using confluence in an international company and noticed, that the localization of the date macro seems broken.

Create a page, enter // for the date macro, format displayed is mm-dd-yyyy

![2017-12-20 13_31_01-Edit - Date test - Christian Waidner - PHYTEC Wiki.png](/t5/image/serverpage/image-id/11370i88B85AF99A3B7C0D/image-dimensions/255x305?v=v2 "2017-12-20 13_31_01-Edit - Date test - Christian Waidner - PHYTEC Wiki.png")

Click on a date, the format changes to 20 Dec 2017 (English locale)

![2017-12-20 13_31_10-Edit - Date test - Christian Waidner - PHYTEC Wiki.png](/t5/image/serverpage/image-id/11372i2A0C5387C12D7684/image-dimensions/128x75?v=v2 "2017-12-20 13_31_10-Edit - Date test - Christian Waidner - PHYTEC Wiki.png")

Finish editing the page, Confluence switches to view mode and voila, German date format (20 Dez 2017)

![2017-12-20 13_31_24-Date test - Christian Waidner - PHYTEC Wiki.png](/t5/image/serverpage/image-id/11373iF5C8F30AFD45659A/image-dimensions/282x76?v=v2 "2017-12-20 13_31_24-Date test - Christian Waidner - PHYTEC Wiki.png")

Is there a way to prevent this extremely annoying behaviour? We would prefer ISO-Format (year, month, day 2017-12-20) or at least a consistent format.

This happens for my client (German Windows locale, English Confluence locale, Server German locale) as well als for other Clients (e.g. English Windows, English confluence, German server).


Answers:
author: ChristianWaidner
body: Hi Shannon!

Confluence default language is set to English (US). The users have a mix of profile languages, mostly English and German.

My personal profile is set to English with German Windows locale.

Our colleagues in the US are using English profiles with English Windows locale.

The current settings in Confluence are like this:

```
Time Format??h:mm a

Date Time Format??MM dd, yyyy HH:mm

Date Format??MM dd, yyyy
```

Thank you for your help.

Christian

comments: author: Shannon S
body: Christian,

Can you let me know what version of Confluence you're running?

The most I was able to replicate so far is that when I set my default language to German on Confluence (profile and Confluence default) then the date picker does default to German format (21.12.2017) but not even in the format you're displaying.

I'd like to test this again with the exact version of Confluence that you're using.

Shannon


author: ChristianWaidner
body: Hi Shannon!

I'm running Confluence 6.5.0 server.

Thanks for investigating.

Christian


author: Shannon S
body: Thank you, Christian.

I am still unable to replicate this myself so I have sent it to the Confluence Server team. They can obtain more information from you about your server there and will be able to help solve the issue.

Once your issue is resolved through support please feel free to post the answer here so other users can learn what the problem was.

Regards,  
Shannon


author: Heiko Treuner
body: Hi Christian,

we have the same Problem how did u solve it?

Regards,

Heiko


author: Shannon S
body: Hi Christian,

Is the Confluence default language set to German or English? Do each of the users have their user profiles set to German, or all English?

Lastly, can you let us know what you have configured here:

* [Configuring Time and Date Formats](https://confluence.atlassian.com/doc/configuring-time-and-date-formats-150144.html)

Thank you!

Regards,

Shannon