diff options
Diffstat (limited to 'lib/libc/time')
-rw-r--r-- | lib/libc/time/strftime.3 | 8 | ||||
-rw-r--r-- | lib/libc/time/strptime.3 | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/time/strftime.3 b/lib/libc/time/strftime.3 index 83c06907404..e6e22823af8 100644 --- a/lib/libc/time/strftime.3 +++ b/lib/libc/time/strftime.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91 -.\" $OpenBSD: strftime.3,v 1.26 2011/09/16 15:01:58 jmc Exp $ +.\" $OpenBSD: strftime.3,v 1.27 2011/09/16 19:36:07 jmc Exp $ .\" .Dd $Mdocdate: September 16 2011 $ .Dt STRFTIME 3 @@ -101,11 +101,11 @@ is replaced by the date in the format .Dq Li %Y-%m-%d . .It Cm \&%G is replaced by the -.St -iso8601-4 +.St -iso8601 year with century as a decimal number. .It Cm \&%g is replaced by the -.St -iso8601-4 +.St -iso8601 year without century as a decimal number (00\-99). .It Cm \&%H is replaced by the hour (24-hour clock) as a decimal number (00\-23). @@ -225,7 +225,7 @@ and conversion specifications are extensions. .Pp Use of the -.St -iso8601-4 +.St -iso8601 conversions may produce non-intuitive results. Week 01 of a year is per definition the first week which has the Thursday in this year, which is equivalent to the week which contains the fourth diff --git a/lib/libc/time/strptime.3 b/lib/libc/time/strptime.3 index 9c0a590b041..dedf7b502fb 100644 --- a/lib/libc/time/strptime.3 +++ b/lib/libc/time/strptime.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strptime.3,v 1.19 2011/09/16 15:01:58 jmc Exp $ +.\" $OpenBSD: strptime.3,v 1.20 2011/09/16 19:36:07 jmc Exp $ .\" .\" Copyright (c) 1997, 1998, 2005, 2008 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -98,7 +98,7 @@ the same as .It Cm \&%F the date as %Y-%m-%d (the -.St -iso8601-4 +.St -iso8601 date format). .It Cm \&%g the year corresponding to the ISO week number, without the century. @@ -155,7 +155,7 @@ leading zeros are permitted but not required. All days in a year preceding the first Sunday are considered to be in week 0. .It Cm \&%V the -.St -iso8601-4 +.St -iso8601 week number as a decimal number. If the week (starting on Monday) that contains January 1 has more than three days in the new year, then it is considered the first week of the @@ -186,7 +186,7 @@ Leading zeros are permitted but not required. the year, including the century (i.e., 1998). .It Cm \&%z an -.St -iso8601-4 +.St -iso8601 or RFC 2822 timezone specification. This is one of the following: the offset from |