Yeah, but if you do that you have to treat the places acquired in the Louisiana Purchase differently because they switched in 1582.  And Puerto Rico.  Bleh.


On Mon, Jul 15, 2024 at 3:04 PM Ken Thompson <kenbob@gmail.com> wrote:
it is worse than "per country",
alaska changed when the u.s.
bought it from russia.


On Mon, Jul 15, 2024 at 10:45 AM Greg A. Woods <woods@robohack.ca> wrote:
At Sun, 14 Jul 2024 17:15:53 -0400, Marc Donner <marc.donner@gmail.com> wrote:
Subject: [TUHS] Re: When did "man cal" lose the comment about 1752?
>
> My instance of cal (MacOS 14.5) has this in the man page:
>
>      -s country_code
>
>              Assume the switch from Julian to Gregorian Calendar at the date
>              associated with the country_code.  If not specified, ncal tries
>              to guess the switch date from the local environment or falls back
>              to September 2, 1752.  This was when Great Britain and her
>              colonies switched to the Gregorian Calendar.

That's 'ncal' from FreeBSD, which is an entirely "new" implementation
written by Wolfgang Helbig:

        commit 0cb2e609d9c2f0ceaf730a57ac5c11580058e7f4
        Author: Wolfgang Helbig <helbig@FreeBSD.org>
        Date:   Mon Dec 15 20:35:22 1997 +0000

            Add new command ncal.

> Note that the switch to the Gregorian calendar happened at different times
> in different countries.  In Catholic-dominated countries it happened in
> October of 1582.  The English-speaking world, being Protestant-dominated,
> waited until September of 1752 to adopt it.

Indeed!

--
                                        Greg A. Woods <gwoods@acm.org>

Kelowna, BC     +1 250 762-7675           RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>     Avoncote Farms <woods@avoncote.ca>