aboutsummaryrefslogtreecommitdiffstats
path: root/man3/strftime.3
diff options
context:
space:
mode:
authorMichael Witten <mfwitten@gmail.com>2010-01-16 19:23:49 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2010-01-16 19:23:49 +0100
commitf37678fe3358e7189a12a1394da9317370f85d44 (patch)
treeb3cf8e85b8a766d791d454c0f881d4af5a8bece7 /man3/strftime.3
parent750d65df7db4c8778b913042687a18962c36e28e (diff)
downloadman-pages-f37678fe3358e7189a12a1394da9317370f85d44.tar.gz
strftime.3: Clarification of %z specifier
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/strftime.3')
-rw-r--r--man3/strftime.38
1 files changed, 6 insertions, 2 deletions
diff --git a/man3/strftime.3 b/man3/strftime.3
index 8534d33536..0c77998132 100644
--- a/man3/strftime.3
+++ b/man3/strftime.3
@@ -32,7 +32,7 @@
.\" 2005-11-22 mtk, added Glibc Notes covering optional 'flag' and
.\" 'width' components of conversion specifications.
.\"
-.TH STRFTIME 3 2009-09-28 "GNU" "Linux Programmer's Manual"
+.TH STRFTIME 3 2010-01-17 "GNU" "Linux Programmer's Manual"
.SH NAME
strftime \- format date and time
.SH SYNOPSIS
@@ -242,7 +242,11 @@ 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 timezone as hour offset from UTC.
+The
+.I +hhmm
+or
+.I -hhmm
+numeric timezone (that is, the hour and minute offset from UTC).
Required to emit RFC\ 822-conformant dates
(using "%a,\ %d\ %b\ %Y\ %H:%M:%S\ %z"). (GNU)
.TP