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