Fwd: FORMAT Missing in Africa/Windhoek & America/Belize

Please check below mail ---------- Forwarded message --------- From: vaibhav shrivastava <vaibhav.sh17@gmail.com> Date: Fri, 25 Jun 2021, 09:07 Subject: Re: [tz] FORMAT Missing in Africa/Windhoek & America/Belize To: Arthur David Olson <arthurdavidolson@gmail.com> Daylight Saving Time (DST) Not Observed in Year 2021 Windhoek currently observes Central Africa Time (CAT) all year. DST is no longer in use. Clocks do not change in Windhoek, Namibia. The previous DST change in Windhoek was on 24 October 2017 Why WAT is mentioned? Why it is different from other rule and format? Regards, Vaibhav On Thu, 24 Jun 2021, 16:30 Arthur David Olson, <arthurdavidolson@gmail.com> wrote:
A bare "%s" in a zone line such as ... Zone Africa/Windhoek 2:00 Namibia %s ...means that the abbreviations are completely specified in the Rule lines being used. In this case, the operative Rule lines are... Rule Namibia 1994 only - Mar 21 0:00 -1:00 WAT Rule Namibia 1994 2017 - Sep Sun>=1 2:00 0 CAT Rule Namibia 1995 2017 - Apr Sun>=1 2:00 -1:00 WAT ...and so the abbreviations "WAT" and "CAT" are the result.
@dashdashado
On Thu, Jun 24, 2021 at 4:09 AM vaibhav shrivastava via tz <tz@iana.org> wrote:
Please check FORMAT is marked as %s for these 2 timezone Africa/Windhoek & America/Belize
Zone Africa/Windhoek 2:00 Namibia %s
Same for
America/Belize -6:00 Belize %s
Regards, Vaibhav

On Mon, 28 Jun 2021 at 10:17, vaibhav shrivastava via tz <tz@iana.org> wrote:
Daylight Saving Time (DST) Not Observed in Year 2021 Windhoek currently observes Central Africa Time (CAT) all year. DST is no longer in use. Clocks do not change in Windhoek, Namibia. The previous DST change in Windhoek was on 24 October 2017
Do you have documentation for the final change being on October 24th? The database has the change occurring on September 3rd 2017. If there's appropriate documentation showing that it actually changed on October 24th, it would be good to update the database accordingly. But other than the precise date, what you've described is what the rules show as well. The 2017 part of the rules that Arthur Olsen included before means that those rules terminate in 2017.
From the final change in September 2017, Africa/Windhoek is on UTC+2, with abbreviation CAT.
See https://nodatime.org/tzvalidate/generate?zone=Africa/Windhoek as an example of the transitions, noting that the final line is: 2017-09-03 01:00:00Z +02:00:00 standard CAT
Why WAT is mentioned?
Because the time zone database covers the past as well as the future, and Africa/Windhoek *used* to alternate between CAT and WAT.
Why it is different from other rule and format?
Which specific other rule and format? It's not clear to me what you mean, but I don't believe there's any problem here. Jon

Hello Jon, Thanks for answering my query. What I mean is that in the zone the %s is mentioned , does it not have a format like "2:00 - CAT" . https://www.timeanddate.com/time/change/namibia/windhoek # Zone NAME STDOFF RULES FORMAT [UNTIL] Zone Africa/Windhoek 1:08:24 - LMT 1892 Feb 8 1:30 - +0130 1903 Mar 2:00 - SAST 1942 Sep 20 2:00 2:00 1:00 SAST 1943 Mar 21 2:00 2:00 - SAST 1990 Mar 21 # independence # Vanguard section, for zic and other parsers that support negative DST. 2:00 Namibia %s ==> *2:00 - CAT* Same case with https://www.timeanddate.com/time/change/belize Zone America/Belize -5:52:48 - LMT 1912 Apr 1 -6:00 Belize %s %s pick from Rule but there is no Rule Save and Rule From as no DST Apply which lies in current date, as it is ended in 2017. Regard, Vaibhav On Mon, Jun 28, 2021 at 2:56 PM Jon Skeet <skeet@pobox.com> wrote:
On Mon, 28 Jun 2021 at 10:17, vaibhav shrivastava via tz <tz@iana.org> wrote:
Daylight Saving Time (DST) Not Observed in Year 2021 Windhoek currently observes Central Africa Time (CAT) all year. DST is no longer in use. Clocks do not change in Windhoek, Namibia. The previous DST change in Windhoek was on 24 October 2017
Do you have documentation for the final change being on October 24th? The database has the change occurring on September 3rd 2017. If there's appropriate documentation showing that it actually changed on October 24th, it would be good to update the database accordingly.
But other than the precise date, what you've described is what the rules show as well. The 2017 part of the rules that Arthur Olsen included before means that those rules terminate in 2017. From the final change in September 2017, Africa/Windhoek is on UTC+2, with abbreviation CAT.
See https://nodatime.org/tzvalidate/generate?zone=Africa/Windhoek as an example of the transitions, noting that the final line is:
2017-09-03 01:00:00Z +02:00:00 standard CAT
Why WAT is mentioned?
Because the time zone database covers the past as well as the future, and Africa/Windhoek *used* to alternate between CAT and WAT.
Why it is different from other rule and format?
Which specific other rule and format? It's not clear to me what you mean, but I don't believe there's any problem here.
Jon
-- Regards, Vaibhav

On Mon, 28 Jun 2021 at 13:23, vaibhav shrivastava <vaibhav.sh17@gmail.com> wrote:
Thanks for answering my query. What I mean is that in the zone the %s is mentioned , does it not have a format like "2:00 - CAT" .
As explained before, it doesn't need to - because the format required by the zone is the same format that's already present in the rule. <snip>
%s pick from Rule but there is no Rule Save and Rule From as no DST Apply which lies in current date, as it is ended in 2017.
%s takes the "LETTER/S" part from the rule, which in this case is "CAT", which is the desired abbreviation. Whether or not DST is applied is irrelevant - while many rules *do* use "S" or an empty string to allow the abbreviation for multiple zones to be generated from a single rule, that's not a requirement, and formatting the zone's abbreviation for a particular period doesn't require knowing whether or not DST is applied.
Jon

Hello Jon, In April sun>=1 does it change to WAT? Regards, Vaibhav On Mon, 28 Jun 2021, 19:30 Jon Skeet, <skeet@pobox.com> wrote:
On Mon, 28 Jun 2021 at 13:23, vaibhav shrivastava <vaibhav.sh17@gmail.com> wrote:
Thanks for answering my query. What I mean is that in the zone the %s is mentioned , does it not have a format like "2:00 - CAT" .
As explained before, it doesn't need to - because the format required by the zone is the same format that's already present in the rule.
<snip>
%s pick from Rule but there is no Rule Save and Rule From as no DST Apply which lies in current date, as it is ended in 2017.
%s takes the "LETTER/S" part from the rule, which in this case is "CAT", which is the desired abbreviation. Whether or not DST is applied is irrelevant - while many rules *do* use "S" or an empty string to allow the abbreviation for multiple zones to be generated from a single rule, that's not a requirement, and formatting the zone's abbreviation for a particular period doesn't require knowing whether or not DST is applied.
Jon

Sorry one more question. # Rule NAME FROM TO - IN ON AT SAVE LETTER/S # Vanguard section, for zic and other parsers that support negative DST. Rule Namibia 1994 only - Mar 21 0:00 -1:00 WAT Rule Namibia 1994 2017 - Sep Sun>=1 2:00 0 CAT Rule Namibia 1995 2017 - Apr Sun>=1 2:00 -1:00 WAT How I decide to use CAT as 2:00 Namibia %s if I check the current year 2021 and %s seems to pick value from where? These rules are till 2017, so from which line does %s pick CAT.? On Mon, Jun 28, 2021 at 8:12 PM Jon Skeet <skeet@pobox.com> wrote:
On Mon, 28 Jun 2021 at 15:39, vaibhav shrivastava <vaibhav.sh17@gmail.com> wrote:
In April sun>=1 does it change to WAT?
Not after 2017, no - because the rules only go as far as 2017.
-- Regards, Vaibhav

It's from the last rule that was applied - basically, the rules specify transitions, and the last transition was into CAT in September 2017. On Mon, 28 Jun 2021 at 15:55, vaibhav shrivastava <vaibhav.sh17@gmail.com> wrote:
Sorry one more question.
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S # Vanguard section, for zic and other parsers that support negative DST. Rule Namibia 1994 only - Mar 21 0:00 -1:00 WAT Rule Namibia 1994 2017 - Sep Sun>=1 2:00 0 CAT Rule Namibia 1995 2017 - Apr Sun>=1 2:00 -1:00 WAT
How I decide to use CAT as
2:00 Namibia %s
if I check the current year 2021 and %s seems to pick value from where? These rules are till 2017, so from which line does %s pick CAT.?
On Mon, Jun 28, 2021 at 8:12 PM Jon Skeet <skeet@pobox.com> wrote:
On Mon, 28 Jun 2021 at 15:39, vaibhav shrivastava <vaibhav.sh17@gmail.com> wrote:
In April sun>=1 does it change to WAT?
Not after 2017, no - because the rules only go as far as 2017.
-- Regards, Vaibhav

On 6/28/21 2:26 AM, Jon Skeet via tz wrote:
The database has the change occurring on September 3rd 2017. If there's appropriate documentation showing that it actually changed on October 24th, it would be good to update the database accordingly.
Yes, the source we're relying on is the Namibia Time Act, 1994 <https://www.lac.org.na/laws/1994/811.pdf>. If this is incorrect for spring 2017 please let us know a better source.
participants (3)
-
Jon Skeet
-
Paul Eggert
-
vaibhav shrivastava