Forums

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

Time Increase 3 hours after the server stopped

Mkurama
Contributor
August 9, 2023

Hi all,

We have an issue in time with Jira, which is when we create an issue or write comment the log time message shows "In 3 hours".

Capture.PNG

1 answer

0 votes
Radek Dostál
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.
August 9, 2023

What is a "log time message"? You're just showing an icon with a text.

Mkurama
Contributor
August 9, 2023

the date time in Jira is +3 hours.

which is when I do any action the time will shows +3 hours.

EX: 9:00 AM writing comment.

the time that shows is 12:00 AM.

even I already check the datetime in Jira server.

Radek Dostál
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.
August 9, 2023

That would be either 9 hours ago or 15 hours ahead, as noon begins with PM, however, that's just nitpicking.

 

You most probably have a misconfigured timezone: https://confluence.atlassian.com/jirakb/incorrect-timestamps-displayed-in-jira-server-148078632.html

 

The timezone specified in your user profile should not matter, this should always show "now", so I'm ruling this out.

Similarly, if the difference is 3 hours, I'm ruling out daylight savings, that shouldn't be as much as 3 hours, the offsets generally don't get that far.. as far as I know.

If this was a wrong datetime format look and feel / general configuration, I kind of don't think it would be offset by 3 hours either, it should be a more severe date malform (https://jira.atlassian.com/browse/JRASERVER-35027).

 

So what comes to mind is the timezone of the database/jvm. Specifically, though, I would suspect the JVM is running with a different timezone from the machine, which causes that discrepancy. My thinking here is that if the DB timezone was off, it should not matter to Jira as it should be able to convert that time back and forth, so instead I think Jira passes "wrong" (simply incorrect) times back and forth to the db.

 

So I would suggest to:

* Check that the System Time is correct in System Info (/secure/admin/ViewSystemInfo.jspa)

* Check whether there is any timezone setting applied in JVM Input Arguments (also System Info)

Mkurama
Contributor
August 14, 2023

Dear @Radek Dostál 

Thank you for your response. The issue was in ntp.conf for ubuntu server.

Suggest an answer

Log in or Sign up to answer