aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/strftime.36
1 files changed, 4 insertions, 2 deletions
diff --git a/man3/strftime.3 b/man3/strftime.3
index 937473b6a1..8c38682e33 100644
--- a/man3/strftime.3
+++ b/man3/strftime.3
@@ -575,8 +575,8 @@ the first week of the year that contains a Thursday;
or, the week that has 4 January in it).
When three of fewer days of the first calendar week of the new year fall
within that year,
-then the ISO 8601 week-based system counts those days as part of week 53
-of the preceding year.
+then the ISO 8601 week-based system counts those days as part of week 52
+or 53 of the preceding year.
For example, 1 January 2010 is a Friday,
meaning that just three days of that calendar week fall in 2010.
Thus, the ISO\ 8601 week-based system considers these days to be part of
@@ -585,6 +585,8 @@ week 53
of the year 2009
.RB ( %G );
week 01 of ISO\ 8601 year 2010 starts on Monday, 4 January 2010.
+Similarly, the first two days of January 2011 are considered to be part
+of week 52 of the year 2010.
.SS Glibc notes
Glibc provides some extensions for conversion specifications.
(These extensions are not specified in POSIX.1-2001, but a few other