<div dir="ltr"><div dir="ltr">On Tue, Aug 16, 2022 at 5:23 PM Paul Eggert <<a href="mailto:eggert@cs.ucla.edu">eggert@cs.ucla.edu</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 8/16/22 00:08, Bradley White wrote:<br>
> Is the intent that the standard install and the "PACKRATDATA=backzone<br>
> PACKRATLIST=zone.tab" install should not exhibit any differences for 1970+<br>
> timestamps?<br>
<br>
Yes, and you can test this by running something like the following in a <br>
source directory. The diff command should output nothing. (The test <br>
takes a while.) I did this sort of test before releasing 2022b.<br>
<br>
make clean<br>
make TOPDIR=$PWD/tza ZFLAGS=-r@0 install<br>
./zdump -i $(awk '/^[^#]/{print $3}' zone1970.tab) >a.tzs<br>
make clean<br>
make TOPDIR=$PWD/tzb ZFLAGS=-r@0 \<br>
   PACKRATDATA=backzone PACKRATLIST=zone.tab \<br>
   install<br>
./zdump -i $(awk '/^[^#]/{print $3}' zone1970.tab) >b.tzs<br>
diff a.tzs b.tzs<br>
rm -r tza tzb a.tzs b.tzs<br></blockquote><div><br></div><div>That seems to only consider zones in "zone1970.tab", which, by definition, are the zones "where civil timestamps have agreed since 1970."</div><div><br></div><div>What about examples like ...</div><div><br></div><div><font face="monospace">$ TZ=<path-to-standard>/Africa/Freetown date -d @1660625107<br>Tue Aug 16 04:45:07 GMT 2022<br>$ TZ=<path-to-packrat>/Africa/Freetown date -d @1660625107<br>Tue Aug 16 05:05:07 +01 2022</font><br></div><div><br></div><div>and ...</div><div><br></div><div><font face="monospace">$ TZ=<path-to-standard>/Pacific/Saipan date -d @230659200<br>Sun Apr 24 03:00:00 GDT 1977<br>$ TZ=<path-to-packrat>/Pacific/Saipan date -d @230659200<br>Sun Apr 24 02:00:00 +10 1977</font><br></div><div><br></div><div>It sure seems like those post-1970 timestamps are receiving different treatments (abbreviations notwithstanding).</div></div></div>