It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence: How do I change the format of date selected by the date picker (//)?

The date coming out of it follows d-MMM-yyyy format, and I'd like to have yyyy-m-d, but don't know how to achieve that. The date format configured in Confluence's General Configuration has no influence over this.

3 answers

Date is actually displayed differently depending on your local/language computer settings and/or internet browser language settings... (I do not remember which one but it has been confirmed by support somehow...) a user with a German windows will be displayed differently as a user with English one.

This leads to major problems when using this // formatting: see https://jira.atlassian.com/browse/CONF-33566

Hi, I run into this same issue with my customers installation. The // notation results in html5 time tag and how the time is displayed is decided by confluence when rendering the page.

Displayed format seems to be effected by system locale and chosen confluence language. And there is no way to override these as far as I know, does Atlassian have any plans to make this configurable? Or is there any workaround?

I this case the locale is fi_FI and confluence language pack is in english. This combination results in a display format which is not english or finish.

Please Atlassian, make this configurable.

Cheers,

Jesse Lahtinen

Polar Shift Ltd.

0 votes

Hi! 

 

Now it is configurable in language format by profile or in global settings. 

I mean if you select English(UK) it will work as EU date format, instead of US format.

 

Cheers,

Gonchik Tsymzhitov

Hi Gonchik, and Atlassian,

I'm currently having trouble with the 6.11 confluence release - before I upgraded from 6.8, my date picker is showing EU format (dd-mm-yyyy) - after upgrade to 6.11, it is using US format (mm-dd-yyyy) even if language is set to English (UK).

 

Would you or anyone run into same issue and know the fix?

Thanks,
Kelvin

To confirm, I created 2 new instance of confluence using the official Atlassian docker hub images

 

6.8.1: Issue doesn't exist (right out of the box, date picker shows dd-mm-yyyy format for me)

6.11.0: Date picker defaults to mm-dd-yyyy even though English (UK) is set

 

Thanks!

Having the same issue with 6.12.0

I found the issue in the end (for me at least)

Old versions of Confluence ignore the browser language - somewhere between 6.8.1 and 6.11 they enabled it, so after upgrade, it will use the language specified by the browser (and the country settings, English UK or US for example)

 

I could change the setting on all the browsers on all my machines, but then can't be bothered

 

On 6.11, I set the below, and then restart, to ignore the browser language.

In /opt/atlassian/confluence/bin/setenv.sh:

CATALINA_OPTS=

"-Dconfluence.browser.language.enabled=false ${CATALINA_OPTS}"

 

Alternatively changing the language on the browser "should" work.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

302 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you