summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-10-02 18:52:29 +0000
committerpfg <pfg@FreeBSD.org>2014-10-02 18:52:29 +0000
commit91481d8e6e7b0b470bdfa24712f588f1c67fc5ac (patch)
treebba48d40494e729a887ba869938482ef61a3dc4f /lib
parenta4d6ed9d73915bf624d1a30c386e40672e2b97b0 (diff)
downloadFreeBSD-src-91481d8e6e7b0b470bdfa24712f588f1c67fc5ac.zip
FreeBSD-src-91481d8e6e7b0b470bdfa24712f588f1c67fc5ac.tar.gz
strptime(3): Update manpage for %U and %W.
%U and %W were implemented as part of r272273 so take them out of the BUGS section and mention them in the SYNOPSIS. MFC after: 1 month
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdtime/strptime.316
1 files changed, 6 insertions, 10 deletions
diff --git a/lib/libc/stdtime/strptime.3 b/lib/libc/stdtime/strptime.3
index 34d2b79..27054460 100644
--- a/lib/libc/stdtime/strptime.3
+++ b/lib/libc/stdtime/strptime.3
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\" "
-.Dd June 25, 2012
+.Dd October 2, 2014
.Dt STRPTIME 3
.Os
.Sh NAME
@@ -79,7 +79,11 @@ and
.Fa \&%D ,
are now interpreted as beginning at 1969 per POSIX requirements.
Years 69-00 are interpreted in the 20th century (1969-2000), years
-01-68 in the 21st century (2001-2068).
+01-68 in the 21st century (2001-2068). The
+.Fa \&%U
+and
+.Fa %W
+format specifiers accept any value within the range 00 to 53.
.Pp
If the
.Fa format
@@ -161,14 +165,6 @@ and 12PM
is taken as noon.
.Pp
The
-.Fa \&%U
-and
-.Fa %W
-format specifiers accept any value within the range 00 to 53
-without validating against other values supplied (like month
-or day of the year, for example).
-.Pp
-The
.Fa %Z
format specifier only accepts time zone abbreviations of the local time zone,
or the value "GMT".
OpenPOWER on IntegriCloud