Duansg opened a new pull request, #3588:
URL: https://github.com/apache/hertzbeat/pull/3588

   ## What's changed?
   
   Please refer to: [#3576](https://github.com/apache/hertzbeat/issues/3576)
   
   System time zone optimization.
   
   For details:
   1. Added a quick search function for the system time zone to resolve issues 
with selecting time zones from a drop-down menu.
   2. The time zone is obtained from the backend, which retrieves all available 
time zones. It returns a set of all time zone names supported by the current 
JDK tzdata database, dynamically calculates adaptive daylight saving time 
(DST), and all IANA standard time zones. For reference, see 
[ZoneId](https://docs.oracle.com/javase/8/docs/api/java/time/ZoneId.html).
   3. Added internationalization support. The front-end display now shows 
`timezone id + ' (' + timezone offset + ') ' + i18n display Name`, which 
supports searching.
   
   Effect display
   <img width="1495" height="756" alt="截屏2025-07-18 15 37 40" 
src="https://github.com/user-attachments/assets/46c67336-c479-4de2-aad0-d72c6dfd9dcd";
 />
   
   
   ## Checklist
   
   - [x]  I have read the [Contributing 
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
   - [x]  I have written the necessary doc or comment.
   - [x]  I have added the necessary unit tests and all cases have passed.
   
   ## Add or update API
   
   - [ ] I have added the necessary [e2e 
tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have 
passed.
   
   International exhibition
   
![us](https://github.com/user-attachments/assets/61d99f54-09b3-4c84-984b-c08e66293248)
   
![jp](https://github.com/user-attachments/assets/33d082d1-d765-473c-9806-3268d5174e73)
   
![cn](https://github.com/user-attachments/assets/ea3fb018-4c3f-4049-ab8c-1433e7e27cdf)
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to