[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20583: calendar-absolute-from-gregorian
From: |
Nicholas Strauss |
Subject: |
bug#20583: calendar-absolute-from-gregorian |
Date: |
Sun, 24 May 2015 08:29:22 -0700 |
Corrected comments to calendar-julianday-from-proleptic-gregorian
and cond for year 1582.
File requires calendar.el
Nick
On Fri, May 22, 2015 at 8:36 AM, Nicholas Strauss
<nicholas.strauss@gmail.com> wrote:
> There are other day number systems more common than the emacs
> "absolute" day number --
> the "astro" or Julian day number and the proleptic Gregorian system
> used by sqlite3
> e.g. select julianday("-4713-11-24").
> cal-julian.el:alendar-astro-to-absolute refers to "astro".
> Proleptic Gregorian day 0 = November 24, 4714 BC while "astro" day 0 =
> January 1, 4713 BC.
> I'm attaching julian.lisp which has calendar-correlate-from-date and
> calendar-correlate-from-julianday
> may help with days before 1582. These are based on Peter
> Duffett-Smiths calculations.
julian.lisp
Description: Binary data