unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ed Reingold <reingold@emr.cs.iit.edu>
Cc: emacs-devel@gnu.org
Subject: Re: 'cal 9 1752' and emacs calendar disagree
Date: Wed, 19 Jul 2006 17:24:24 -0500	[thread overview]
Message-ID: <200607192224.k6JMOOHT024840@emr.cs.iit.edu> (raw)
In-Reply-To: Message from Leon <sdl.web@gmail.com> of "Wed, 19 Jul 2006 23:16:50 BST." <m264httf3h.fsf@sl392.st-edmunds.cam.ac.uk>

No, it is not a bug.  The odd Sept 1752 was only that way in England and her 
colonies--not in general.  It is the Unix cal program that is in error.  The 
Emacs calendar shows the Gregorian calendar, period.  But it allows one to get 
dates on many other calendars as well, such as the Julian.  What cal gives is 
the first part of the month on Julian calendar and the latter part on the 
Gregorian--that is nonsense.

The date the switch was made is geographically dependent and stretched over a 
period of hundreds of years.


> 
> Hi there,
> 
> For some historical reasons¹, September 1752 is a special month that
> has no 3 - 13 dates. As you can see, 'cal 9 1752' will gives
> 
>    September 1752   
> Su Mo Tu We Th Fr Sa
>        1  2 14 15 16
> 17 18 19 20 21 22 23
> 24 25 26 27 28 29 30
> 
> 
> While emacs calendar gives:
> 
>    September 1752    
> Su Mo Tu We Th Fr Sa 
>                 1  2 
>  3  4  5  6  7  8  9 
> 10 11 12 13 14 15 16 
> 17 18 19 20 21 22 23 
> 24 25 26 27 28 29 30
> 
> Is this a bug?
> 
> Footnotes: 
> ¹  http://www.farid-hajji.net/fun/cj-cal91752.html
> -- 
> Leon
> 
> 
> 
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2006-07-19 22:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <sdl.web@gmail.com>
2006-07-19 22:16 ` 'cal 9 1752' and emacs calendar disagree Leon
2006-07-19 22:24   ` Ed Reingold [this message]
2006-07-19 22:29     ` Kim F. Storm
2006-07-20 15:32     ` Richard Stallman
2006-07-19 22:28   ` Nic James Ferrier
2006-07-19 22:36   ` Andreas Schwab
2006-07-19 23:15   ` Leon
2006-07-19 23:24     ` Nic James Ferrier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200607192224.k6JMOOHT024840@emr.cs.iit.edu \
    --to=reingold@emr.cs.iit.edu \
    --cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).