On 2025-11-03 10:53, Guillermo Rodriguez Garcia wrote:
zonenow.tab has a very limited set of
timezones, so for many countries, the precondition "if at least one of
its timezones appear in zonenow.tab" will not be met.
Oh, good point. I was trying to come up with something simple but
evidently it needs to be trickier.
Here's an idea. Make the following change to Makefile:
--- a/Makefile
+++ b/Makefile
@@ -1036,7 +1036,7 @@ now.ck: checknow.awk date tzdata.zi zdump zic
zone1970.tab zonenow.tab
$(AWK) \
-v zdump_table=$@d/zdump-1970.tab \
-f checknow.awk
- rm -fr $@d
+ : rm -fr $@d
touch $@
tables.ck: checktab.awk $(YDATA) backward zone.tab zone1970.tab
and then run "make now.ck". Then look at now.ckd/zdump-now.tab to decide
whether two timezones have equivalent behavior from now on.
Just as a warning, if you do this next week you may get a different
answer from today, even if tzdata doesn't change. This is because the
contents of now.ckd/zdump-now.tab must of course depend on the current time.