All date fields entered is changed to 1/1+ day earlier

Borusan Lojistik November 22, 2019

Hi,

We click any date filed and pick date after that date is inserted to db one or more day earlier.

As you can see we handle same problem for all date fields, also in release date fields.

We check db tsql and see that date is sent to db as worng way(one or more day earlier).

Thanks

My web browser (latest Chrome is set to accept language en-us first, my local computer is set to UTC+3 Istanbul.

jira1.jpgjira2.jpgjira3.jpgjira4.jpgjira5.jpg

 

 

 

 

 

 

 

3 answers

1 accepted

2 votes
Answer accepted
Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 22, 2019

Hi @Borusan Lojistik ,

Please update joda-time.jar with the latest version.

Hope it helps.

Regards,
Tansu

Borusan Lojistik November 22, 2019

Thanks for your help. It works.

Best Regard

Like Tansu Akdeniz likes this
Seda Atagören November 27, 2019

We have the same issue here. It worked, thanks a lot @Tansu Akdeniz 

Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 27, 2019

Glad to hear that, you are welcome.

Amanda Figart July 6, 2022

Does this also work in Confluence?

0 votes
Lucas Pereira October 22, 2021

hello, I have the same error now, dates after Nov/08, came back one day. 

 

jar joda time was update to version 2.10.5: 

{code}
atlassian-jira/WEB-INF/lib# ls -la joda-time-2.10.5.jar
-rw-r--r-- 1 root root 643043 Dec 1 2020 joda-time-2.10.5.jar

{code}

 

Have any other suggestions for this problem?

Jira Software Data Center v8.13.2.

 

Could you help?

Flavio Beck
Contributor
November 12, 2021

Hello @LucasP ,

same problem here.

still investigating root cause, but it happens after virtual machine migration.

 

Jira is running in docker container

 

New VM use NTP server - Timezone OK (gmt-3)

docker-compose set /etc/localtime:ro to the container

 

But, for some moment I entered into container bash and date command returned UTC.

I just went back to host, and then went back to container bash, and date command returned gmt-3. (magically changed)

 

I know it is hard to believe, (I do not take a screenshot), but you can ask to Dumas. I showed my screen to him when happened.

Lucas Pereira November 12, 2021

@Flavio Beck it's relate with daylight saving time end in brazil :( we resolve this problem with this KB: 

https://confluence.atlassian.com/jirakb/adjusting-daylight-saving-time-brazil-2019-979408558.html

0 votes
Pete Singleton
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.
November 22, 2019

I'd suggest checking the system date/time, on the host OS, to make sure that is correct.

Suggest an answer

Log in or Sign up to answer