Wireshark-dev: Re: [Wireshark-dev] Bug 5653 - Display "Day of Year" for January 1 as 1, not 0
From: Stephen Donnelly <[email protected]>
Date: Tue, 08 Feb 2011 11:59:55 +1300
On 08/02/11 07:46, Guy Harris wrote:
The "day of year" format code was introduced to support a couple of CCSDS:

protocols.  The code it replaced displayed the day-of-year as 0-origin; however, this document:


speaks of day-of-year as being 1-origin, at least for the ASCII time code formats.

Unless the NASA guys who contributed the packet-ccsds.c and packet-vcdu.c dissectors would like to argue that, in their dissection, a 0-origin day-of-year works better, in which case we should support both 0-origin and 1-origin display formats, I would suggest switching to a 1-origin display format and see whether we get a complaint from any space data people (in which case we should add a separate 0-origin format).
The IRIG 200-04 standard encodes dates as 'day of year' with 1-origin as