Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Bug 5653 - Display "Day of Year" for January 1 as 1, not 0

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Feb 2011 11:34:44 -0700
On Mon, Feb 07, 2011 at 07:52:30AM -0500, Matthew Parris wrote:

> > Within the abs_time_to_str function, 1900 is added to the tm_year 
> > parameter, but 1 is not added to the tm_yday.  I'm used to seeing 
> > the day of the year equal to 1 on January 1st.  Does anyone use 0 
> > for January 1?

I agree that changing it to "1" for Jan 1 makes sense from a human 
reading the screen perspective.