[tz] Asia/Gaza POSIX TZ string problem

brian.inglis at systematicsw.ab.ca brian.inglis at systematicsw.ab.ca
Thu Apr 18 21:13:25 UTC 2024


On 2024-04-18 13:00, brian.inglis--- via tz wrote:
> On 2024-04-18 01:50, Z Meng Chen via tz wrote:
>> We obtained the *tzdata2024a* from IANA.
>> Below is the Rule for *Asia/Gaza* extracted from *tzdata2024a*:
>>     /                                 .../
>>     /Rule Palestine 2022 2035 - Oct Sat<=30 2:00 0 -/
>>     /Rule Palestine 2023 only - Apr 29 2:00 1:00 S/
>>     /Rule Palestine 2024 only - Apr 20 2:00 1:00 S/
>>     /Rule Palestine 2025 only - Apr 12 2:00 1:00 S/
>> *Asia/Gaza POSIX TZ string (generated by zic)*: EET-2EEST,M3.4.4/50,M10.4.4/50"
>> The rule specifies that DST in 2024 starts on April 20th.
>> Why then does the POSIX TZ string use M3.4.4? Is this a bug?
>> or is there any other reason?  Thanks.

> Have you checked the tzset(3) docs for TZ?
> IIRC these say after the specific rules up to 2086, use alternative standard+1 
> from March 4th Thursday at 50h UTC offset, reset to standard UTC+2 from October 
> 4th Thursday at 50h UTC offset => Saturday after 4th Thursday at 02:00.

Sorry - sent and forgot to paste in the last specific rules for the future:
...
Rule Palestine  2059    max     -       Mar     Sat<=30 2:00    1:00    S
...
Rule Palestine  2072    max     -       Oct     Sat<=30 2:00    0       -
...
other rules are similar for earlier ranges or single year exceptions including 
for Ramadan.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the tz mailing list