Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Clock module: Support dynamic time zones (to auto-switch daylight saving time) #2125

Open
hengginator opened this issue Sep 15, 2024 · 2 comments

Comments

@hengginator
Copy link

Describe the bug/idea
To align alternative time zones in the clock module closer to reality (actually used time), it would be great to support dynamic daylight saving zone configuration (to auto-reflect actually used time for certain area/city).
As time zones are currently based on direct "UTC offset" only, it cannot auto-switch with summer/winter time change (daylight saving time) for a certain desired clock entry.

A very simple way of improving this would be allowing time zone config to be based on local time offset (ie: "localTime -2hrs" instead of only "UTC -2hrs"). For many time zones (ie: on the same continent usually) this would work fine as daylight saving times zone often change together.

For a global "full version" of such a feature a full "city time zone chart" resp. an zone index including information of winter/summer time start/end dates would be perfect since as daylight saving times are starting/ending on different dates globally.

Details:

  • Device: [e.g. Macbook Pro 2016]
  • macOS: [e.g. 10.15.5]
  • Application version: [e.g. 2.1.11]
@exelban
Copy link
Owner

exelban commented Oct 3, 2024

hi, thanks for the feedback.
I will take a look what could be done here.

@hengginator
Copy link
Author

....time zone data could be sourced from TimezoneDB which offers offline data to download & implement, as well as a RestAPI (free even for commercial use under Creative Commons Attribution 3.0 License).

Alternatively there is also WorldTimeAPI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants