FW: epochs and the gregorian reform

Olson, Arthur David (NIH/NCI) olsona at dc37a.nci.nih.gov
Tue Jul 29 15:25:12 UTC 2003


Andrew Brown is not on the time zone mailing list;
direct replies appropriately.

				--ado

-----Original Message-----
From: Andrew Brown [mailto:atatat at atatdot.net]
Sent: Tuesday, July 29, 2003 12:20 AM
To: tz at lecserver.nci.nih.gov
Subject: epochs and the gregorian reform


while it's not strictly related, i've often found myself wondering if
adding the date of the adoption of the gregorian reform for a given
region to the compiled zone file might be of interest.

i recently worked over cal(1) in netbsd to remove the places where
1752/09/03 was "hard-coded" as the date of the adoption of the reform,
adding in it's place a nice list of dates for various places, and
demoted 1752/09/03 to a mere default.  as a result, i can ask cal to
show me the calendar at the time that italy adopted the reform
(1582/10/05), or japan (1872/12/20).  note that i did not attempt to
handle things like sweden from 1700-1712.

it struck me that the tz data base would not be an unreasonable place
to store the "local" date at which the gregorian reform took place
(modulo the various cantons in switzerland and the parts of germany
that were protestant in the 16th century).

crazy?

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior at daemon.org             * "ah!  i see you have the internet
twofsonet at graffiti.com (Andrew Brown)                that goes *ping*!"
werdna at squooshy.com       * "information is power -- share the wealth."



More information about the tz mailing list