[tz] Asia/Gaza POSIX TZ string problem
brian.inglis at systematicsw.ab.ca
brian.inglis at systematicsw.ab.ca
Thu Apr 18 19:00:13 UTC 2024
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.
Hi Meng Chen,
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.
--
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