aboutsummaryrefslogtreecommitdiffstats
path: root/missing/strftime.3
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:33:03 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:33:03 +0300
commit2f83a4e72166e811a9f0b4726c19a3d5a0b17dcb (patch)
tree469bebda4e807139efb497edfca1ec0678b5ab8b /missing/strftime.3
parent66b0bdd602e952f20fa98f6ce5430cea68d4f598 (diff)
downloadegawk-2f83a4e72166e811a9f0b4726c19a3d5a0b17dcb.tar.gz
egawk-2f83a4e72166e811a9f0b4726c19a3d5a0b17dcb.tar.bz2
egawk-2f83a4e72166e811a9f0b4726c19a3d5a0b17dcb.zip
Move to gawk-2.15.5.
Diffstat (limited to 'missing/strftime.3')
-rw-r--r--missing/strftime.311
1 files changed, 5 insertions, 6 deletions
diff --git a/missing/strftime.3 b/missing/strftime.3
index 88d1a222..9efe8408 100644
--- a/missing/strftime.3
+++ b/missing/strftime.3
@@ -220,7 +220,8 @@ day of week 1) as a decimal number
.RB ( 01 - 53 ).
The method for determining the week number is as specified by ISO 8601
(to wit: 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
+new year, then it is week 1, otherwise it is the highest numbered
+week of the previous year (52 or 53)
and the next week is week 1).
.LP
The text of the POSIX standard for the
@@ -242,12 +243,8 @@ in week 0.
is replaced by the week number of the year (the first Monday as the first
day of week 1) as a decimal number
.RB ( 00 - 53 ).
-All days in a new year preceding the first Sunday are considered to be
+All days in a new year preceding the first Monday are considered to be
in week 0.
-(Note: this last statement is quoted verbatim from the POSIX standard.
-It probably means to say ``all days in a new year preceding the first
-.I Monday
-are considered to be in week 0.'')
.LP
In addition, the alternate representations
.BR %Ec ,
@@ -315,3 +312,5 @@ Thanks to Geoff Clare <gwc@root.co.uk> for helping debug earlier
versions of this routine, and for advice about POSIX semantics.
Additional thanks to Arthur David Olsen <ado@elsie.nci.nih.gov>
for some code improvements.
+Thanks also to Tor Lillqvist <tml@tik.vtt.fi>
+for code fixes to the ISO 8601 code.