linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tzset.3: add offset format
@ 2015-02-14  2:08 JWP
       [not found] ` <54DEAE34.5090002-KK0ffGbhmjU@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: JWP @ 2015-02-14  2:08 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

tzset.3 does not illustrate the POSIX offset format.
Specifically, there is no indication in the manual
what the optional components of it are.

Signed-off-by: J William Piggott <elseifthen-KK0ffGbhmjU@public.gmane.org>
---
 man3/tzset.3 | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/man3/tzset.3 b/man3/tzset.3
index 2bc246c..cfb2d4c 100644
--- a/man3/tzset.3
+++ b/man3/tzset.3
@@ -107,8 +107,12 @@ time to get Coordinated Universal Time (UTC).
 The \fIoffset\fP is positive
 if the local timezone is west of the Prime Meridian and negative if it is
 east.
-The hour must be between 0 and 24, and the minutes and seconds
-0 and 59.
+The hour must be between 0 and 24, and the minutes and seconds 00 and 59:
+.sp
+.RS
+.RI [ + | - ] hh [ :mm [ :ss ]]
+.RE
+.sp
 .PP
 The \fIdst\fP string and \fIoffset\fP specify the name and offset for the
 corresponding daylight saving timezone.
--
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tzset.3: add offset format
       [not found] ` <54DEAE34.5090002-KK0ffGbhmjU@public.gmane.org>
@ 2015-02-15 15:56   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-02-15 15:56 UTC (permalink / raw)
  To: JWP; +Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 02/14/2015 03:08 AM, JWP wrote:
> tzset.3 does not illustrate the POSIX offset format.
> Specifically, there is no indication in the manual
> what the optional components of it are.

Thanks for your continued input on the page, William. Patch 
applied.

Cheers,

Michael


> Signed-off-by: J William Piggott <elseifthen-KK0ffGbhmjU@public.gmane.org>
> ---
>  man3/tzset.3 | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/man3/tzset.3 b/man3/tzset.3
> index 2bc246c..cfb2d4c 100644
> --- a/man3/tzset.3
> +++ b/man3/tzset.3
> @@ -107,8 +107,12 @@ time to get Coordinated Universal Time (UTC).
>  The \fIoffset\fP is positive
>  if the local timezone is west of the Prime Meridian and negative if it is
>  east.
> -The hour must be between 0 and 24, and the minutes and seconds
> -0 and 59.
> +The hour must be between 0 and 24, and the minutes and seconds 00 and 59:
> +.sp
> +.RS
> +.RI [ + | - ] hh [ :mm [ :ss ]]
> +.RE
> +.sp
>  .PP
>  The \fIdst\fP string and \fIoffset\fP specify the name and offset for the
>  corresponding daylight saving timezone.
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-15 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-14  2:08 [PATCH] tzset.3: add offset format JWP
     [not found] ` <54DEAE34.5090002-KK0ffGbhmjU@public.gmane.org>
2015-02-15 15:56   ` Michael Kerrisk (man-pages)

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).