On 2023-03-26 23:39, Patrick.Stergonschegg@orf.at wrote:
Hello,
I just noticed that the Windows time zone for "UTC +03:30 Tehran" is probably being computed incorrectly.
It seems that DST +1 is being added, although Iranian Government announced that they will not switch to DST anymore, beginning in 2023.
Official IR News Agency announcement: http://irna.ir/xjJ3TT
Current Time: https://time.ir
I assume that Microsoft imports IANA time zone data: http://bit.ly/3ZmGzTE
In the file tzdata2023b\asia on line 1625 it says:
3:30 Iran +0330/+0430
I assume the line should be changed and a new line should be added, e.g.:
3:30 Iran +0330/+0430 2022
3:30 - +0330
I don't see a need for such a change, as the "Iran" rules end this way: Rule Iran 2021 2022 - Mar 21 24:00 1:00 - Rule Iran 2021 2022 - Sep 21 24:00 0 - The shell command 'zdump -i -c 2021,2030 Asia/Tehran' outputs this: TZ="Asia/Tehran" - - +0330 2021-03-22 01 +0430 1 2021-09-21 23 +0330 2022-03-22 01 +0430 1 2022-09-21 23 +0330 which looks OK: it stops after 2022. If your MS-Windows host disagrees, perhaps you need to update its tables. I don't know how that works, though.
More ressources:
https://www.timeanddate.com/worldclock/iran
I am looking forward to any feedback.
Thanks a lot, Patrick