linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Kerrisk <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: Michael Witten <mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 2/9] stime.2, strftime.3, tzset.3, zic.8: GMT -> UTC (where appropriate)
Date: Sun, 17 Jan 2010 08:20:50 +1300	[thread overview]
Message-ID: <cfd18e0f1001161120k79520278ga7d5e1c77008e6a5@mail.gmail.com> (raw)
In-Reply-To: <1263080737-2868-3-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Hi Michael

On Sun, Jan 10, 2010 at 12:45 PM, Michael Witten <mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Signed-off-by: Michael Witten <mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---
>  man2/stime.2    |    2 +-
>  man3/strftime.3 |    2 +-
>  man3/tzset.3    |    4 ++--
>  man8/zic.8      |    8 ++++----
>  4 files changed, 8 insertions(+), 8 deletions(-)

Tanks. I've applied most of this. For the zic.8, I made it UTCOFF
rather than UTF_OFFSET, just to maintain the same width of text.

Cheers,

Michael


> diff --git a/man2/stime.2 b/man2/stime.2
> index 07fef5e..530d223 100644
> --- a/man2/stime.2
> +++ b/man2/stime.2
> @@ -46,7 +46,7 @@ _SVID_SOURCE
>  .BR stime ()
>  sets the system's idea of the time and date.
>  Time, pointed
> -to by \fIt\fP, is measured in seconds from 00:00:00 GMT January 1, 1970.
> +to by \fIt\fP, is measured in seconds from 00:00:00 UTC January 1, 1970.
>  .BR stime ()
>  may only be executed by the superuser.
>  .SH "RETURN VALUE"
> diff --git a/man3/strftime.3 b/man3/strftime.3
> index 8dfe58c..e356ccb 100644
> --- a/man3/strftime.3
> +++ b/man3/strftime.3
> @@ -242,7 +242,7 @@ The year as a decimal number without a century (range 00 to 99).
>  The year as a decimal number including the century.
>  .TP
>  .B %z
> -The time-zone as hour offset from GMT.
> +The time-zone as hour offset from UTC.
>  Required to emit RFC\ 822-conformant dates
>  (using "%a,\ %d\ %b\ %Y\ %H:%M:%S\ %z"). (GNU)
>  .TP
> diff --git a/man3/tzset.3 b/man3/tzset.3
> index ad496f7..1d74405 100644
> --- a/man3/tzset.3
> +++ b/man3/tzset.3
> @@ -67,7 +67,7 @@ environment variable.
>  This function is automatically called by the
>  other time conversion functions that depend on the timezone.
>  In a System-V-like environment, it will also set the variables \fItimezone\fP
> -(to seconds West of GMT) and \fIdaylight\fP (to 0 if this timezone does not
> +(to seconds West of UTC) and \fIdaylight\fP (to 0 if this timezone does not
>  have any daylight saving time rules, or to non-zero if there is a time during
>  the year when daylight saving time applies).
>  .PP
> @@ -223,7 +223,7 @@ It has been obsolete for many years but is required by SUSv2.
>  .BI "char *timezone(" zone ", " dst )
>  that returned the
>  name of the timezone corresponding to its first argument (minutes
> -West of GMT).
> +West of UTC).
>  If the second argument was 0, the standard name was used,
>  otherwise the daylight saving time version.
>  .SH "SEE ALSO"
> diff --git a/man8/zic.8 b/man8/zic.8
> index 949fb62..8cb63bb 100644
> --- a/man8/zic.8
> +++ b/man8/zic.8
> @@ -260,8 +260,8 @@ A zone line has the form
>  .sp
>  .nf
>  .ti +.5i
> -.ta \w'Zone\0\0'u +\w'Australia/Adelaide\0\0'u +\w'GMTOFF\0\0'u +\w'RULES/SAVE\0\0'u +\w'FORMAT\0\0'u
> -Zone   NAME    GMTOFF  RULES/SAVE      FORMAT  [UNTIL]
> +.ta \w'Zone\0\0'u +\w'Australia/Adelaide\0\0'u +\w'UTC_OFFSET\0\0'u +\w'RULES/SAVE\0\0'u +\w'FORMAT\0\0'u
> +Zone   NAME    UTC_OFFSET      RULES/SAVE      FORMAT  [UNTIL]
>  .sp
>  For example:
>  .sp
> @@ -270,13 +270,13 @@ Zone      Australia/Adelaide      9:30    Aus     CST     1971 Oct 31 2:00
>  .sp
>  .fi
>  The fields that make up a zone line are:
> -.TP "\w'GMTOFF'u"
> +.TP "\w'UTC_OFFSET'u"
>  .B NAME
>  The name of the timezone.
>  This is the name used in creating the time conversion information file for the
>  zone.
>  .TP
> -.B GMTOFF
> +.B UTC_OFFSET
>  The amount of time to add to UTC to get standard time in this zone.
>  This field has the same format as the
>  .B AT
> --
> 1.6.6.102.gd6f8f
>
>



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

  parent reply	other threads:[~2010-01-16 19:20 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-09 23:45 [OVERVIEW 0/9] Cleanup Time Michael Witten
     [not found] ` <1263080737-2868-1-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-09 23:45   ` [PATCH 1/9] tzset.3: Cleanup grammar/clarity Michael Witten
     [not found]     ` <1263080737-2868-2-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-16 19:08       ` Michael Kerrisk
2010-01-09 23:45   ` [PATCH 2/9] stime.2, strftime.3, tzset.3, zic.8: GMT -> UTC (where appropriate) Michael Witten
     [not found]     ` <1263080737-2868-3-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-16 19:20       ` Michael Kerrisk [this message]
2010-01-09 23:45   ` [PATCH 3/9] strftime.3: Clarification of %z Michael Witten
     [not found]     ` <1263080737-2868-4-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-16 19:26       ` Michael Kerrisk
2010-01-09 23:45   ` [PATCH 4/9] strftime.3: %z is defined by the SUSv3 Michael Witten
2010-01-09 23:45   ` [PATCH 5/9] strftime.3: Move 822-compliant date format example to EXAMPLES section Michael Witten
     [not found]     ` <1263080737-2868-6-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-17  5:33       ` Michael Kerrisk
2010-01-09 23:45   ` [PATCH 6/9] strftime.3: Expanded introduction Michael Witten
     [not found]     ` <1263080737-2868-7-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-17  5:04       ` Michael Kerrisk
2010-01-09 23:45   ` [PATCH 7/9] "timezone" -> "time zone" Michael Witten
     [not found]     ` <1263080737-2868-8-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-16 18:53       ` Michael Kerrisk
2010-01-09 23:45   ` [PATCH 8/9] Consistently define the Epoch Michael Witten
     [not found]     ` <1263080737-2868-9-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-17  4:58       ` Michael Kerrisk
2010-01-09 23:45   ` [PATCH 9/9] "null terminated" -> "null-terminated" Michael Witten
     [not found]     ` <1263080737-2868-10-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-16 19:02       ` Michael Kerrisk
2010-01-17  5:35   ` [OVERVIEW 0/9] Cleanup Time Michael Kerrisk
     [not found]     ` <cfd18e0f1001162135s7a9bf828oe08694374022199b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-18 13:51       ` Michael Witten
  -- strict thread matches above, loose matches on Subject: below --
2009-12-03 22:39 [PATCH 1/9] tzset.3: Cleanup grammar/clarity Michael Witten
     [not found] ` <1259879998-1140-1-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-12-03 22:39   ` [PATCH 2/9] stime.2, strftime.3, tzset.3, zic.8: GMT -> UTC (where appropriate) Michael Witten

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=cfd18e0f1001161120k79520278ga7d5e1c77008e6a5@mail.gmail.com \
    --to=mtk.manpages-gm/ye1e23mwn+bqq9rbeug@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mfwitten-Re5JQEeQqe8AvxtiuMwx3w@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).