How to correctly change the timezone

Dmitrii Apanasevich
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.
October 27, 2014

Hi!

Moscow's timezone was changed from GMT+4 to GMT+3.

When I change -Duser.timezone then JIRA shows DateTime CF values incorretly for one hour less.

Moreover, PostgreSQL returns DateTime CF values incorrectly too: "2014-10-30 23:00:00+03" instead of "2014-10-31 00:00:00+04". I need to write UPDATE statement?

How to correctly change the timezone in JIRA?

Thank in advance!

I run JIRA 5.0.4 on JVM 1.6

1 answer

1 accepted

2 votes
Answer accepted
Dmitrii Apanasevich
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.
October 30, 2014

It's not enough to set timezone in OS, DBMS and JVM.You should aslo update joda-time.

https://answers.atlassian.com/questions/18319

https://jira.atlassian.com/browse/JRA-33737

 

Junio Fernandes October 26, 2018

Now, 2018, same problem. More important: same solution!

Thanks very much.

Joda Time updated from 2.8.2 to 2.10 solved my problem.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events