Thread (1 message) 1 message, 1 author, 2012-03-14

Re: [patch] tzset.3: fix description of "n" format

From: Peter Schiffer <hidden>
Date: 2012-03-14 14:29:53

Hello,

could somebody look at this? Patch was attached in previous email, only 
review is needed.

Thanks,

peter

On 11/10/2011 07:24 PM, Peter Schiffer wrote:
Hello,

according to [1], description of start/end format of TZ variable says:
...
Jn
This specifies the Julian day, with n between 1 and 365. February 29 
is never counted, even in leap years.
n
This specifies the Julian day, with n between 0 and 365. February 29 
is counted in leap years.
...

This is correct and works. However, man page tzset(3) says:
...
Jn This specifies the Julian day with n between 1 and 365. Febru‐
ary 29 is never counted even in leap years.

n This specifies the Julian day with n between 1 and 365. Febru‐
ary 29 is counted in leap years.
...

For "n" format, interval should be "between 0 and 365". Attached patch 
is solving this issue.

Version of man pages: 3.35


peter


[1] http://www.gnu.org/s/hello/manual/libc/TZ-Variable.html
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help