Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can i force date / time changes on my jira instance ?

Kou Ssi
Contributor
June 16, 2023

I changed the date and time format from Administrator > Feel & Look > Date/Time 
However my changes won't apply after the instance starts i want to force the default values to change ( override them ) via the jira-config.properties any ideas on how to do that ?

1 answer

0 votes
Tim Perrault
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 16, 2023

Hello @Kou Ssi 

 

If you go to Administration -> System Info, you can see the system date as JIRA sees it. Is it correct? Is the timezone listed there correct?

If not, then probably the operating system date is wrong as well.

If the JIRA server is in a different timezone and you only want JIRA to run with Australian timezone, then you could set the -Duser.timezone=AU Java property on startup:

http://confluence.atlassian.com/display/JIRA/Setting+properties+and+options+on+startup

https://confluence.atlassian.com/jirakb/set-the-timezone-for-the-java-environment-323392719.html

Kou Ssi
Contributor
June 16, 2023

The thing is i changed the date and time format it displays when I hover the cursor on the date label (it shows the exact format I defined) but it's not displayed on the UI 

I need a way to disable the default date value using jira-config.properties  file but I don't exactly know how 

Tim Perrault
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 16, 2023

Are you talking about relative dates? Like when it says Today or Yesterday?

Kou Ssi
Contributor
June 16, 2023

yees exactly the one that says ( 2 hours ago / yesterday /... ) i want to change that to be in the format dd/mm/yyyy hh:mm a

Like Tim Perrault likes this
Tim Perrault
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 16, 2023

add the following to your jira-config.properties file and restart jira

jira.lf.date.relativize = false
Like Kou Ssi likes this
Kou Ssi
Contributor
June 16, 2023

This was really helpful thank you @Tim Perrault 

Like Tim Perrault likes this

Suggest an answer

Log in or Sign up to answer