Wireshark mailing list archives

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


From: Stephen Fisher <steve () stephen-fisher com>
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.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: