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
Gonchik Tsymzhitov Community Champion Aug 09, 2018

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
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,116 views 2 6
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