From 59fe324126d10e706293902e88b711ab25b50153 Mon Sep 17 00:00:00 2001 From: Quantum Date: Thu, 19 Jun 2025 20:15:32 -0400 Subject: [PATCH] =?UTF-8?q?gcal:=20add=20Tzolk=CA=BCin=20to=20calendar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gcal/src/Calendar.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcal/src/Calendar.tsx b/gcal/src/Calendar.tsx index 0118eb8..57f1577 100644 --- a/gcal/src/Calendar.tsx +++ b/gcal/src/Calendar.tsx @@ -10,6 +10,7 @@ import { monthName, weekdayNames, } from '@common/gregorian'; +import {jdnTzolkin, formatTzolkin} from '@common/mayan'; import {jdnLongCount} from '@common/longCount'; import {jdnJulian} from '@common/julian'; import {frDateFormat, frEndJD, frStartJD, jdnFrench} from '@common/french'; @@ -40,6 +41,10 @@ function DayDetail({jdn}: { jdn: number }): JSX.Element { J.{' '} {formatJG(jdnJulian(jdn))} +
+ TZ{' '} + {formatTzolkin(jdnTzolkin(jdn))} +
{lc &&
LC{' '} {lc.join('.\u200b')}