Hello,
I am facing a very annoying behavior in OTRS that I believe is more related to Javascript then to OTRS itself.
My location has daylight savings and when this started I had to change the server time and OTRS timezone to make tickets and articles to show the correct time, otherwise it would store and show 1 hour behind current time.
The issue I'm facing now is with Date fields on CMDB, everytime I need to edit a record, the DAY in the date field will go back one day, any action to perform a page reload will decrease another day.
Searching for this I found out that Javascript interpret the field as 00:00 so when there is a timezone difference the field will take that into consideration and since anything less than 0h is the day behind, that's why I always a day behind current day stored.
The time on the server (ticket, article, etc) is right, I just need to figure out a way to CMDB ignore the timezone difference.
By the way, If I change my agent timezone to UTC fixes this issue, however, it will store data 2 hours ahead my current time, not a solution.
In suggestion in this is greatly appreciated.
Thanks.
OTRS 6.0.8 - Date Field with Timezone Difference
Moderator: crythias
Re: OTRS 6.0.8 - Date Field with Timezone Difference
update to the latest patchlevel
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 52
- Joined: 23 Mar 2016, 14:17
- Znuny Version: 6.0.8
- Real Name: Jeff
- Company: M
Re: OTRS 6.0.8 - Date Field with Timezone Difference
Hello JOJO,
Thank you for the reply, I am really considering doing so but was this a known issue?
I just want to make sure before I upgrade.
Thank you for the reply, I am really considering doing so but was this a known issue?
I just want to make sure before I upgrade.
Re: OTRS 6.0.8 - Date Field with Timezone Difference
as far as I remember yes. You should always update to the latest patchlevel, you already missed several bugfixes, but most important several security related fixes!
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 52
- Joined: 23 Mar 2016, 14:17
- Znuny Version: 6.0.8
- Real Name: Jeff
- Company: M
Re: OTRS 6.0.8 - Date Field with Timezone Difference
Thank you Jojo.