From: Peter Schiffer <pschiffe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [patch] tzset.3: fix description of "n" format
Date: Wed, 14 Mar 2012 15:29:53 +0100 [thread overview]
Message-ID: <4F60AB61.8060003@redhat.com> (raw)
In-Reply-To: <4EBC16EC.30905-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
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
next prev parent reply other threads:[~2012-03-14 14:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-10 18:24 [patch] tzset.3: fix description of "n" format Peter Schiffer
[not found] ` <4EBC16EC.30905-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-03-14 14:29 ` Peter Schiffer [this message]
2012-03-24 3:11 ` Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F60AB61.8060003@redhat.com \
--to=pschiffe-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).