From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, URIBL_DBL_BLOCKED_OPENDNS,URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [IPv6:2600:3c01:e000:146::1]) by inbox.vuxu.org (Postfix) with ESMTP id 1988D2156D for ; Tue, 23 Sep 2025 05:58:11 +0200 (CEST) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 4F8DB4452A; Tue, 23 Sep 2025 13:58:05 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuhs.org; s=dkim; t=1758599885; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=rfBT6Nx7wm6yxbvHgRPo3dlyomA92uTyGTw7l2YaQDs=; b=bQIzdJpUqrS8/F3PnU6by5Q4jlFNP96y+FR1NmRKQuAqQTXRxof5MMbV3yFrch77/moTeo KP++BGo6jWgmm8EdnLJyj5ufMXBWANL+WKBrR5oubhgy1q4r7p+HWAwzsr/GTPnjn2tu4z wSA09UL1pfNhj2wxw3myZw6U1L3y9KU= Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by minnie.tuhs.org (Postfix) with ESMTPS id 34A9344529 for ; Tue, 23 Sep 2025 13:57:59 +1000 (AEST) Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-24498e93b8fso5103065ad.3 for ; Mon, 22 Sep 2025 20:57:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758599878; x=1759204678; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rfBT6Nx7wm6yxbvHgRPo3dlyomA92uTyGTw7l2YaQDs=; b=kFSXm8Fl9LadND4fuvNFHTcRrs3iV7AB9doS5cRCUwK1AbWU0tXcjJJP9tY8fzvU+d i3gu0UCvZ2D5ogbjdLbiUKcLq0GxHrssxi7Cy/wtEqpF56gUtESiINTv3t4Buvxn8weZ 22Z5dVjUFqbDugY7mGT3DiXhz0khrgyyEAvHruckXvJuIOLoVErD3x23p3iCfdEvx2Q1 qAJAm9cSG6B0hVaOfc92Q2nyPqvdq3zo6eI70bxVX48CNDDpSu2hgZVgr3ePenpIrSdw glh8IzpbAOF1pNIXAYTDZKOOR7294qYVlU6dSzdODL65x7WyFY/2ANua+T8yzI9S9ag4 eKpg== X-Gm-Message-State: AOJu0YyF+43CnCWnLRLUQx0gRhgrlqK1/Rs65tYqhEsg8ATxOjszSYkd Eu1Y3jUTEjfC+msuRZZABxy900JqbbC8tzl9xGEmH5w30UFb9qKagz+whvlg8xMsZOd9Ci/3qMV y5II= X-Gm-Gg: ASbGncsCv72ih5ukHEYzIWO5xVyVjpNcbo5ZOWJHTTZJpBxNYTwLUD8fVgKUkng7pd1 Xf0Z/WToVd73Gm6oxPf8fC7p4jp9V/Iv/ivTnm7P3RLBNGOrIXtpeoQ+pwpd26Smpu01EraEEO7 MPtLCy13ad8c8v3kFuP7rYgZHP23o1ozk32hHPPlQdICTd83NbVdFvCatxQaOO1EPrDhG5dZXOx DfBkrPeeM6O2aB4R7tKyUG9XF3irwS7eJaX/YU/3lEZ/9VVdAxtRM8Z+rCIXrr3f/SAtUIwsYDv SQbfEs/D4wibCnkOCfT9mlQi7CrmSkNzRoJo0hFuJiA61x3i07y1P1212oChvtazQbtj+CdQoc6 5O2NuBaFi17L72br1U/qFBPDFMmFrYJ6kR3aaDmsGv66NGtw9cs2fDQtdOvPN6ngvu3u4wgbQC+ xYH9Hv1V8xczu3jM6sXfw= X-Google-Smtp-Source: AGHT+IGGvpFsW6M+9BoQpPOqLiBGK0UyJSaTauIuvklsDK4V9S2+uTFT2lCxqHiNWTRXfVNLKac/pg== X-Received: by 2002:a05:6a00:2d27:b0:77f:2f7c:b705 with SMTP id d2e1a72fcca58-77f53b2fca3mr750293b3a.6.1758599878128; Mon, 22 Sep 2025 20:57:58 -0700 (PDT) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-77f2863912dsm6364831b3a.26.2025.09.22.20.57.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Sep 2025 20:57:57 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.100.1.1.5\)) Date: Mon, 22 Sep 2025 20:57:46 -0700 References: <20250923003454.03671DD56E9A@ary.qy> <20250923010534.2L17rbeZ@steffen%sdaoden.eu> To: TUHS@tuhs.org In-Reply-To: Message-Id: <89629F1E-3178-4544-AC42-9B834D501D8C@iitbombay.org> X-Mailer: Apple Mail (2.3864.100.1.1.5) Message-ID-Hash: X6YWFTYWBK42RAUANKE3IFCEES65OLBW X-Message-ID-Hash: X6YWFTYWBK42RAUANKE3IFCEES65OLBW X-MailFrom: bakul@iitbombay.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: History of cal(1)? List-Id: The Unix Heritage Society mailing list Archived-At: <> List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Bakul Shah via TUHS Reply-To: Bakul Shah Things get quite complicated when you have lunisolar calendars! An extra lunar month is added every 32 or 33 lunar months to sync up with the solar cycle[1]. In India they have been in use for many centuries and even today most religious festivals and events follow them. Here's a typical calendar page[2]: = https://www.prokerala.com/general/calendar/hinducalendar.php?year=3D2025&m= on=3Dseptember&sb=3D1#calendar As you can see plenty of information is imparted[3]. When I was a kid, we would always get a day-per-page calendar every year because of this. [1] One's birthday as per Indian & Greorian calendars lines up almost exactly every 19 years. [2] Not sure what software they use. The calendar also changes based on your location! [3] Things like sunrise/sunset, the zodiac moon is passing through, etc. Details explained here: https://www.anaadi.org/post/indian-calendar-part-3-the-panchangam > On Sep 22, 2025, at 6:50=E2=80=AFPM, Rob Pike via TUHS = wrote: >=20 > There are so many calendars in the world. The Muslim calendar. The = Jewish > calendar. The Mayan calendar. Countless indigenous calendars too, I am > certain. >=20 > Whenever computing butts up against real human culture, things get = messy > fast. No point in trying to catalog the mess exhaustively. >=20 > -rob >=20 >=20 > On Tue, Sep 23, 2025 at 11:14=E2=80=AFAM Steffen Nurpmeso via TUHS = > wrote: >=20 >> John Levine via TUHS wrote in >> <20250923003454.03671DD56E9A@ary.qy>: >> |It appears that Douglas McIlroy via TUHS = >> \ >> |said: >> |>> [cal(1)] has all the logic to adjust for 16th century >> |>> calendar changes ... (Try "cal 9 1752") >> |>> My impression is that [it is] overimplemented. >> |> >> |>The fact that a 16th century change is illustrated by an 18th = century >> |>example suggests that not quite "all the logic" is there. It's good >> |>for Great Britain and its colonies, but not elsewhere. So I'd say = it's >> |>underimplemented :) >> | >> |You'll be relieved to know that ncal has addressed that omission: >> | >> |$ ncal -p >> | AL Albania 1912-11-30 IS Iceland 1700-11-16 >> | AT Austria 1583-10-05 IT Italy 1582-10-04 >> | AU Australia 1752-09-02 JP Japan 1918-12-18 >> | BE Belgium 1582-12-14 LT Lithuania 1918-02-01 >> | BG Bulgaria 1916-03-31 LU Luxembourg 1582-12-14 >> | CA Canada 1752-09-02 LV Latvia 1918-02-01 >> | CH Switzerland 1655-02-28 NL Netherlands 1582-12-14 >> | CN China 1911-12-18 NO Norway 1700-02-18 >> | CZ Czech Republic 1584-01-06 PL Poland 1582-10-04 >> | DE Germany 1700-02-18 PT Portugal 1582-10-04 >>=20 >> (In an earlier thread on this topic Mr. McIlroy threw into >> the discussion that for example Germany was very much more >> complicated than that. And i said iirc something like "we >> tried to keep it local by then" [actually notoriously so], and >> unfortunately talked about Mors Teutonicus even, as "we more >> usually than not reached the Holy Land" before reaching the holy >> land, which *possibly* is the only one and true way to reach the >> holy land .. if you can. (Pffffhh, what a talk.)) >>=20 >> | DK Denmark 1700-02-18 RO Romania 1919-03-31 >> | ES Spain 1582-10-04 RU Russia 1918-01-31 >> | FI Finland 1753-02-17 SI Slovenia 1919-03-04 >> | FR France 1582-12-09 SE Sweden 1753-02-17 >> | GB United Kingdom 1752-09-02 TR Turkey 1926-12-18 >> | GR Greece 1924-03-09 *US United States 1752-09-02 >> | HU Hungary 1587-10-21 YU Yugoslavia 1919-03-04 >> | >> |R's, >> |John >> | >> |PS: my point was not that it's a lot of code, but that is's a >> distinctive \ >> |hack so one might >> |look at earlier calendar programs to see whether they also did it to = \ >> |try and trace the >> |chain of influence. >> --End of <20250923003454.03671DD56E9A@ary.qy> >>=20 >> --steffen >> | >> |Der Kragenbaer, The moon bear, >> |der holt sich munter he cheerfully and one by one >> |einen nach dem anderen runter wa.ks himself off >> |(By Robert Gernhardt) >>=20