public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Sami Kerola <kerolasa@iki.fi>
To: Benno Schulenberg <bensberg@justemail.net>
Cc: kerolasa@iki.fi, "Util-Linux" <util-linux@vger.kernel.org>
Subject: Re: [PATCH] docs: cal: mention where Gregorian reformation happen in September 1752
Date: Sun, 22 Dec 2013 18:31:42 +0000	[thread overview]
Message-ID: <1387737102-32083-1-git-send-email-kerolasa@iki.fi> (raw)
In-Reply-To: <1387645415.1452.62357161.76BB1F01@webmail.messagingengine.com>

On Sat, Dec 21, 2013 at 06:03:35PM +0100, Benno Schulenberg wrote:
> The change looks okay, but the wording needs some improvement.

Thank you for review Benno, the below resubmission uses your wording.

BTW after reading a bit about historic calendars I have lost hope
historically correct calendar would be doable.  If BC calendar is ever
made to work is should probably implement what modern day western people
can agree was correct, even if the people who lived at the time would
disagree.

--->8----
From: Sami Kerola <kerolasa@iki.fi>
Date: Sun, 22 Dec 2013 18:06:04 +0000
Subject: [PATCH] docs: cal: mention where Gregorian reformation happen in September 1752

In September 1752 the Gregorian reformation happen in Great Britain and
Dominions (including what is now the USA).  One could argue the cal(1)
should consider locale when determining the reformation, but such is
nearly impossible implement correctly.

The dates when reformation happen are split by areas that cannot be
expressed with current locales, for example the Netherlands is split to
two and Germany three categories depending on where in the modern country
one is.  Secondly the track when reformation happen is lost for some
countries, Lithuania or Japan are good examples of such.

One of the worst for a programmer is Sweden.  They got gradual calendar
change which made Swedish calendar to be completely out of sync.  Later
the Swedish calendar jumped in 1753 to be in sync with everyone else.

Notice that some countries, including Saudi Arabia, Ethiopia, Nepal, Iran
and Afghanistan, still have not adopted the Gregorian calendar.  Hence
the output of the cal(1) cannot be considered to be correct for everyone.

References: http://calendopedia.com/gregory.htm
References: http://en.wikipedia.org/wiki/Gregorian_calendar#Gregorian_reform
Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
---
 misc-utils/cal.1 | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/misc-utils/cal.1 b/misc-utils/cal.1
index fa79f91..1ce0e26 100644
--- a/misc-utils/cal.1
+++ b/misc-utils/cal.1
@@ -102,17 +102,23 @@ specified, the current month's calendar is displayed.
 A year starts on Jan 1. The first day of the week is determined by the
 locale.
 .PP
-The Gregorian Reformation is assumed to have occurred in 1752 on the 3rd of
-September. By this time, most countries had recognized the reformation
-(although a few did not recognize it until the early 1900's). Ten days
-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.
+.SH BUGS
+.PP
+The
+.B cal
+is using for Gregorian reformation the date of 1752 on the 3rd of
+September when it happen in Great Britain and it's colonies (including
+what is now the USA).  Ten days following that date were eliminated by
+the reformation, so the calendar for that month is a bit unusual.  The
+history when calendar reformation happen in different locales is ignored.
+.PP
+Alternative calendars, such as the Umm al-Qura, the Solar Hijri, the Ge'ez,
+or the lunisolar Hindu, are not supported.
 .SH HISTORY
 A cal command appeared in Version 6 AT&T UNIX.
 .SH AVAILABILITY
-- 
1.8.5.2


  reply	other threads:[~2013-12-22 18:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-21 11:57 [PATCH] docs: cal: mention where Gregorian reformation happen in September 1752 Sami Kerola
2013-12-21 17:03 ` Benno Schulenberg
2013-12-22 18:31   ` Sami Kerola [this message]
2014-01-06 11:26     ` Karel Zak
2014-01-06 20:55       ` [patch] cal: improve wording about when Gregorian reformation happened Benno Schulenberg
2014-01-06 23:24         ` Sami Kerola
2014-01-07  8:44         ` Karel Zak
2014-01-06 11:43     ` [PATCH] docs: cal: mention where Gregorian reformation happen in September 1752 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=1387737102-32083-1-git-send-email-kerolasa@iki.fi \
    --to=kerolasa@iki.fi \
    --cc=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