tomsun28 commented on issue #3576: URL: https://github.com/apache/hertzbeat/issues/3576#issuecomment-3076418154
> > Americas/New_York’. > > Hi Tom, I took a quick look at the current situation and found that the time zone settings are fixed in `system-config.component.html`, and the UTC offset is also fixed. So I currently have two ideas. Could you please take a look and see what you think? > > 1. As you mentioned, simply replacing it with `America/New_York` will cause an issue. For example, `America/New_York` has daylight saving time (DST) changes, and DST changes do not necessarily occur on the same date every year. Since the current setting is fixed, this will cause the UTC offset displayed on the page to be inaccurate. > 2. Use the `IANA` standard time zone. Although you need to consider compatibility issues with the JDK version, I believe it is sufficient to consider only the mainstream time zones. For example, refer to: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. The UTC offset can be returned by the backend application. hi Point 2 looks better 👍. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: notifications-h...@hertzbeat.apache.org
