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

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

 



Hello Peter,

On Fri, Nov 11, 2011 at 7:24 AM, Peter Schiffer <pschiffe@xxxxxxxxxx> 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

Thanks. I applied your patch for man-pages-3.38.

Cheers,

Michael



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
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