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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux