From: Michael Witten <mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 2/9] stime.2, strftime.3, tzset.3, zic.8: GMT -> UTC (where appropriate)
Date: Thu, 3 Dec 2009 16:39:51 -0600 [thread overview]
Message-ID: <1259879998-1140-2-git-send-email-mfwitten@gmail.com> (raw)
In-Reply-To: <1259879998-1140-1-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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(-)
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.5.2.180.gc5b3e
--
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:[~2009-12-03 22:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Michael Witten [this message]
[not found] ` <1259879998-1140-2-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-12-03 22:39 ` [PATCH 3/9] strftime.3: Clarification of %z Michael Witten
[not found] ` <1259879998-1140-3-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-12-03 22:39 ` [PATCH 4/9] strftime.3: %z is defined by the SUSv3 Michael Witten
[not found] ` <1259879998-1140-4-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-12-03 22:39 ` [PATCH 5/9] strftime.3: Move 822-compliant date format example to EXAMPLES section Michael Witten
[not found] ` <1259879998-1140-5-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-12-03 22:39 ` [PATCH 6/9] strftime.3: Expanded introduction Michael Witten
[not found] ` <1259879998-1140-6-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-12-03 22:39 ` [PATCH 7/9] "timezone" -> "time zone" Michael Witten
[not found] ` <1259879998-1140-7-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-12-03 22:39 ` [PATCH 8/9] Consistently define the Epoch Michael Witten
[not found] ` <1259879998-1140-8-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-12-03 22:39 ` [PATCH 9/9] "null terminated" -> "null-terminated" Michael Witten
2009-12-04 5:38 ` [PATCH 5/9] strftime.3: Move 822-compliant date format example to EXAMPLES section Michael Witten
2010-01-16 19:29 ` [PATCH 4/9] strftime.3: %z is defined by the SUSv3 Michael Kerrisk
-- strict thread matches above, loose matches on Subject: below --
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 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
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=1259879998-1140-2-git-send-email-mfwitten@gmail.com \
--to=mfwitten-re5jqeeqqe8avxtiumwx3w@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).