Date: Fri, 13 Nov 2015 19:44:53 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 204529] struct tm documentation in time.h possibly incorrect Message-ID: <bug-204529-8-18GO1jphpF@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-204529-8@https.bugs.freebsd.org/bugzilla/> References: <bug-204529-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204529 --- Comment #1 from Michael Cress <michael.cress@cress.us> --- Looking at time.h on Linux, I see struct tm { int tm_sec; /* Seconds. [0-60] (1 leap second) */ . . . int tm_yday; /* Days in year.[0-365] */ . . } So, it seems the 0-60 range is due to a leap second. I am assuming that the 0-365 range is due to leap year range also. Can the struct time be modified to include documentation about this for tm_sec and tm_yday? -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204529-8-18GO1jphpF>