From: Benno Schulenberg <bensberg@justemail.net>
To: "Util-Linux" <util-linux@vger.kernel.org>
Subject: [patch] the first Sunday of the week...
Date: Sat, 21 Dec 2013 18:23:05 +0100 [thread overview]
Message-ID: <1387646585.6225.62363057.526D760E@webmail.messagingengine.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
Hi,
The man page of cal speaks of "first Sunday of the week"
instead of of "first Sunday of the year". Attached patch
fixes this, and tries to further improve the clarity of the
paragraph.
Benno
--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-docs-in-cal-s-man-page-admit-that-any-week-has-just-.patch --]
[-- Type: text/x-patch; name="0001-docs-in-cal-s-man-page-admit-that-any-week-has-just-.patch", Size: 1555 bytes --]
From 6347565f57121f28ca66ebdc715830e0dfe03f22 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Sat, 21 Dec 2013 18:15:14 +0100
Subject: [PATCH] docs: in cal's man page admit that any week has just one Sunday
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
misc-utils/cal.1 | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/misc-utils/cal.1 b/misc-utils/cal.1
index fa79f91..860f708 100644
--- a/misc-utils/cal.1
+++ b/misc-utils/cal.1
@@ -108,11 +108,11 @@ September. By this time, most countries had recognized the reformation
following that date were eliminated by the reformation, so the calendar for
that month is a bit unusual.
.PP
-The week numbering depends on the first day of the week. If Sunday (the
-default) is used for the first day of the week, then the customary North
-American numbering will be used, i.e. first Sunday of the week starts the
-first week. If Monday is selected, then the ISO-8601 standard week numbering
-is used, where the first Thursday is in week number 1.
+The week numbering depends on the choice of the first day of the week. If Sunday
+(the default) is used for the first day of the week, then the customary North
+American numbering will be used, i.e. the first Sunday of the year starts the
+first week. If Monday is selected, then the ISO-8601 standard week numbering
+is used, where the first Thursday of the year is in week number 1.
.SH HISTORY
A cal command appeared in Version 6 AT&T UNIX.
.SH AVAILABILITY
--
1.7.0.4
next reply other threads:[~2013-12-21 17:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-21 17:23 Benno Schulenberg [this message]
2014-01-06 11:43 ` [patch] the first Sunday of the week Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1387646585.6225.62363057.526D760E@webmail.messagingengine.com \
--to=bensberg@justemail.net \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox