<div dir="ltr"><div><span style="font-size:12.8px">(To the list this time instead of just to Paul - sorry for the duplicate, Paul.)</span></div><span style="font-size:12.8px"><div><span style="font-size:12.8px"><br></span></div>Thanks for your work on this, Paul. I&#39;m about to go on vacation so I don&#39;t know how popular I&#39;d be with my spouse if I investigated this much further this week, but I&#39;m somewhat nervous about the readability for the sake of compactness. I&#39;d like to try a bunch of different formats, with examples and sizes - using Noda Time to generate them just for the sake of making this experimentation easier. I&#39;d personally be willing to sacrifice a certain amount of compactness for the sake of readability, but obviously if we can get the size down a bit </span><i style="font-size:12.8px">without</i><span style="font-size:12.8px"> losing readability, that would be good. I&#39;ll try to come back with a document of options, at least within the next couple of weeks.</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I think it&#39;s fine for zdump not to bother with version information etc - it should be easy enough to write code to add that later, so that zdump can focus just on the time part of things.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I&#39;m <i>personally</i> not bothered about the lack of leap second information - my bias here is that Noda Time completely ignores leap seconds. (I view them as rather separate from actual time zones anyway - I think if we were thinking about systems from scratch I&#39;d separate the two entirely, but that&#39;s a different matter.)</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Great to see progress on this though!</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Jon</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 May 2016 at 19:49, Paul Eggert <span dir="ltr">&lt;<a href="mailto:eggert@cs.ucla.edu" target="_blank">eggert@cs.ucla.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Jon Skeet wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;d be perfectly happy with zdump gaining more display options, but I think<br>
there&#39;s still huge benefit in deciding on one *canonical* format for<br>
validation.<br>
</blockquote>
<br>
I looked into the format you suggested, along with the other comments noted and formats I&#39;ve seen elsewhere (e.g., Shanks), and came up with the attached proposal for a &quot;canonical&quot; -i format for zdump, with the design goals being a format that is unambiguous, easy to review, and compact. Although this format&#39;s columns don&#39;t always line up, in general aligning columns appears to be impractical (in the extreme case, year numbers might exceed 9999!), and I found that unaligned columns make it easier to see glitches anyway. The proposed -i format does not contain versioning information as that would complicate regression testing.<br>
<br>
For what it&#39;s worth, the -i format is about 10% the size of -v format, and is about 53% the size of the format you proposed.<br>
<br>
This proposal is incomplete, for several reasons. First, it doesn&#39;t address leap seconds. Second, it doesn&#39;t abbreviate predicted futures into POSIX TZ strings; fixing this would make the output significantly shorter. Third, there is no infrastructure for verifying a distribution by checksumming its zdump -i output. So the proposal is documented as being experimental in the attached patch, and I haven&#39;t installed it on github yet. Of course zdump -v has all these problems as well, so the proposal format wouldn&#39;t make these problems worse.<br>
<br>
The first attachment consists of the revised man-page output; the second attachment is the change to tzcode.<br>
</blockquote></div><br></div>