summaryrefslogtreecommitdiff
path: root/lib/libc/time/strftime.3
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-10-18 05:12:14 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-10-18 05:12:14 +0000
commitf29d8bd9c9c901b81d8fadc341786c43528e63c1 (patch)
treea5fc4e4696d058bee8f5a8c5498044c06a963bda /lib/libc/time/strftime.3
parent906e3d9014b754421b64647e705b3cca2e9a7c01 (diff)
Another round of man page cleanup, this time to remove more hard sentence
breaks and getting rid of short lines, making these files easier to work with.
Diffstat (limited to 'lib/libc/time/strftime.3')
-rw-r--r--lib/libc/time/strftime.324
1 files changed, 14 insertions, 10 deletions
diff --git a/lib/libc/time/strftime.3 b/lib/libc/time/strftime.3
index eee1d0bbc9c..b858b5c6c76 100644
--- a/lib/libc/time/strftime.3
+++ b/lib/libc/time/strftime.3
@@ -34,7 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91
-.\" $OpenBSD: strftime.3,v 1.11 2000/09/06 23:05:11 millert Exp $
+.\" $OpenBSD: strftime.3,v 1.12 2000/10/18 05:12:12 aaron Exp $
.\"
.Dd January 18, 1998
.Dt STRFTIME 3
@@ -154,7 +154,8 @@ is replaced by the weekday (Monday as the first day of the week)
as a decimal number (1-7).
.It Cm \&%V
is replaced by the week number of the year (Monday as the first day of
-the week) as a decimal number (01-53). If the week containing January
+the week) as a decimal number (01-53).
+If the week containing January
1 has four or more days in the new year, then it is week 1; otherwise
it is week 53 of the previous year, and the next week is week 1.
.It Cm \&%W
@@ -215,15 +216,17 @@ and
conversion specifications are extensions.
.Pp
Use of the ISO 8601 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 day of January. In other words, the first week of a new
-year is the week which has the majority of its days in the new year.
+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
+day of January.
+In other words, the first week of a new year is the week which has the
+majority of its days in the new year.
Week 01 might also contain days from the previous year and the week
before week 01 of a year is the last week (52 or 53) of the previous
-year even if it contains days from the new year. A week starts with
-Monday (day 1) and ends with Sunday (day 7). For example, the first
-week of the year 1997 lasts from 1996-12-30 to 1997-01-05.
+year even if it contains days from the new year.
+A week starts with Monday (day 1) and ends with Sunday (day 7).
+For example, the first week of the year 1997 lasts from
+1996-12-30 to 1997-01-05.
.Sh BUGS
There is no conversion specification for the phase of the moon.
.Pp
@@ -233,7 +236,8 @@ will always NUL terminate
.Fa buf ,
other implementations may not do so when
.Fa maxsiz
-is not large enough to store the entire time string. The contents of
+is not large enough to store the entire time string.
+The contents of
.Fa buf
are implementation specific in this case.
.\" @(#)newstrftime.3 7.14