exelban / stats

macOS system monitor in your menu bar
MIT License
25.33k stars 840 forks source link

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

Open hengginator opened 1 month ago

hengginator commented 1 month ago

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:

exelban commented 2 weeks ago

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