Use the correct start hour for all timezones even when the UTC offset isn’t a round number of hours.
Before this fix the wrong start hour (integer) was calculated when timezones involved a part-hour offset, causing the wrong current hour to be highlighted, and entire timezone rows to be misaligned. This bug #4 impacted tz for more than a billion people. For example when working with India Standard Time (IST = UTC+05:30, known as “Asia/Calcutta” in tkuchiki/go-timezone) at UTC=12:45, tz could align India with 5 am as the current displayed hour but it should have been 6 am.
This fix uses the same approach as the emojis, which were displayed correctly.
Use the correct start hour for all timezones even when the UTC offset isn’t a round number of hours.
Before this fix the wrong start hour (integer) was calculated when timezones involved a part-hour offset, causing the wrong current hour to be highlighted, and entire timezone rows to be misaligned. This bug #4 impacted
tz
for more than a billion people. For example when working with India Standard Time (IST = UTC+05:30, known as “Asia/Calcutta” intkuchiki/go-timezone
) at UTC=12:45,tz
could align India with 5 am as the current displayed hour but it should have been 6 am.This fix uses the same approach as the emojis, which were displayed correctly.