Closed jnd-au closed 1 month ago
I haven't noticed this. Do you have an example set of timezones to reproduce?
Sure @wyne, including examples that are shown, tested, and resolved in PR #62. Some quick examples are India and Australia:
./tz.0bdd6e2 -when 1712422800 Australia/Sydney
(pressing h
moves to hour 2 then gets stuck)../tz.cb3ba9f -when 1727749800 Asia/Calcutta,India
# See original time 8:00 AM:
π (IST) India 8:00AM, Tue Oct 01, 2024
20 21 22 23 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# Press l (forward hour)
π (IST) India 8:30AM, Tue Oct 01, 2024
19 20 21 22 23 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# See above that the hours have shifted, and the time is shown as 8:30 AM instead of 9:00 AM.
# Now try to go back to the original time: Press h
π (IST) India 7:30AM, Tue Oct 01, 2024
19 20 21 22 23 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# See hours have not reverted to the start, and the time is shown as 7:30 AM instead of the original 8:00 AM
Unreleased changes in HEAD (e.g. cb3ba9f after release v0.7.0) cause errors and instability in
tz
when the user is in, or is viewing, timezones with fractional-hour offsets (e.g. 30 or 45 minutes different than UTC), and days when daylight saving time (DST) starts and ends, and left/right keyboard navigation. Furthermore, keyboard navigation gets stuck on DST transition days (itβs broken)!