Hi
I am running NetXMS 3.5 application on a Windows 2016 application server using Apache Tomcat for the web interface.
After daylight savings time came into effect, it was noticed that the web interface was one hour ahead of the console interface for the same events. Users would see "last change" one hour ahead of the local time in DST.
I took a look at the java settings on the app server and applied an explicit time zone to the JVM
-Duser.timezone=Pacific Standard Time
This did not change anything even for newly logged events.
To see if this did effect the JVM, I changed it to
-Duser.timezone=GMT
I noticed the Tomcat logs did change and logged the JVM startup in GMT instead of PDT but the web interface still showed times as before - one hour head of local time.
On my desktop, I modified the Date/Time settings and disabled "adjust for daylight savings time automatically".
This did change the times displayed on my desktop browser but I did not see this as a solution.
How can I get the local times to display on browsers correctly?
Attachment shows console and web interface with different times for the same event. Desktop web browser is one hour too far ahead.
Thanks.
Doug
I am running NetXMS 3.5 application on a Windows 2016 application server using Apache Tomcat for the web interface.
After daylight savings time came into effect, it was noticed that the web interface was one hour ahead of the console interface for the same events. Users would see "last change" one hour ahead of the local time in DST.
I took a look at the java settings on the app server and applied an explicit time zone to the JVM
-Duser.timezone=Pacific Standard Time
This did not change anything even for newly logged events.
To see if this did effect the JVM, I changed it to
-Duser.timezone=GMT
I noticed the Tomcat logs did change and logged the JVM startup in GMT instead of PDT but the web interface still showed times as before - one hour head of local time.
On my desktop, I modified the Date/Time settings and disabled "adjust for daylight savings time automatically".
This did change the times displayed on my desktop browser but I did not see this as a solution.
How can I get the local times to display on browsers correctly?
Attachment shows console and web interface with different times for the same event. Desktop web browser is one hour too far ahead.
Thanks.
Doug