unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ed Reingold <reingold@emr.cs.iit.edu>
Cc: bug-gnu-emacs@gnu.org, ovv@hetnet.nl
Subject: Re: cal-persia.el disagrees with Iranian calendar in A.D. 2025
Date: Wed, 30 Mar 2005 12:25:06 -0600	[thread overview]
Message-ID: <200503301825.j2UIP6FG006333@emr.cs.iit.edu> (raw)
In-Reply-To: Message from Paul Eggert <eggert@CS.UCLA.EDU> "of Wed, 30 Mar 2005 12:29:33 EST." <87sm2d82ki.fsf@penguin.cs.ucla.edu>

The problem is that in 2025 the equinox will be close to noon in Iran--too
close to say precisely what the calendar will be: it will be either Mar 20 or
Mar 21 on the ASTRONOMICAL calendar.  Part of the problem is that it is not
clear what location in Iran should be used, Tehran (which we chose) or 52.5 E.
The ARITHMETICAL calendar gives the Mar 20 date.  What will the TRUE date be?
It's anybody's guess, but PROBABLY Mar 21.

I don't see that any sensible change is possible at this time to either Emacs
(which does not contain the mechanisms in place to implement the astronomical
calendar) nor in the time-zone data base.


> A time-zone database user reported a bug for the year 2025 in Iran.
> This appears to be due to a disagreement between GNU Emacs's
> cal-persia.el and the user's (German) source for the Persian calendar.
> The problem occurs both with Emacs 21.4 and CVS head.
> 
> I enclose the user's email below.  I confirmed that
> 
>    (calendar-gregorian-from-absolute
>       (calendar-absolute-from-persian '(1 1 1404)))
> 
> returns (3 20 2025), so it does appear that cal-persia disagrees with
> his source, which says that 1 Farvardin 1404 corresponds to 21 March
> 2025.  I don't know whether this should be a code fix or an
> enhancement (cal-iran.el, say?).
> 
> 
> > From: Oscar van Vlijmen <ovv@hetnet.nl>
> > Subject: Iran calculated DST dates
> > Date: Wed, 30 Mar 2005 14:38:46 +0200
> > 
> > I checked the DST on/off dates for Iran.
> > It appears that the dates were calculated with the arithmetic 'Persian'
> > calendar in mind. Since 1925 an astronomical calendar is in use, so I read.
> > There is one day difference between these two calendar systems in the
> > Gregorian year 2025, so there is one error in the list of DST rules for Iran
> > if indeed the astronomical calendar system is used.
> > 
> > The astronomical Iranian calendar has 1 Farvardin 1404 on 21 March 2025
> > Gregorian, so DST on is per 22 March 2025 0:00, and 30 Shahrivar 1404 is on
> > 21 September 2025 Gregorian, so DST off is per 22 September 2025 Gregorian.
> > 
> > The vernal equinox in 2025 Gregorian is at around 09:01 UTC on March 20, so
> > around 12:27 Tehran 'solar' time. This is past 12:00, hence 1 Farvardin is
> > on March 21.
> > 
> > A long article about the Iranian calendar (in German):
> > Iranische Zeitrechnungen, Nikolaus A. Bär, 2004.
> > See the chapter "Der neuiranische Kalender", with a French translation of
> > the 1925 law.
> > http://www.nabkal.de/irankal.html
> > 
> > I checked the Iranian calendar dates with the Java application by
> > Reingold/Dershowitz, version 2.1.
> > http://emr.cs.iit.edu/home/reingold/calendar-book/Calendrica.html
> > And the mentioned vernal equinox date/time with 2 different astronomical
> > programs.
> > 
> > Oscar van Vlijmen
> > 2005-03-30
> > 

  reply	other threads:[~2005-03-30 18:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <eggert@CS.UCLA.EDU>
2005-03-30 17:29 ` cal-persia.el disagrees with Iranian calendar in A.D. 2025 Paul Eggert
2005-03-30 18:25   ` Ed Reingold [this message]
     [not found] <200503302100.j2UL0wFG007410@emr.cs.iit.edu>
2005-03-31  7:18 ` Paul Eggert
2005-03-31 14:39   ` Ed Reingold
2005-04-05 16:14   ` Roozbeh Pournader
2005-04-05 22:02     ` Paul Eggert
2005-04-06 13:12       ` Roozbeh Pournader
2005-04-06 16:30         ` Ed Reingold

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=200503301825.j2UIP6FG006333@emr.cs.iit.edu \
    --to=reingold@emr.cs.iit.edu \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=ovv@hetnet.nl \
    /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).