CTAN Comprehensive TeX Archive Network

CTAN update: lua-calendrica

Date: October 17, 2026 2:35:37 AM CEST
Udi Fogiel submitted an update to the lua-calendrica package. Version: 0.2 2026-10-13 License: apache2 Summary description: Lua implementation of Calendrical Calculations by Dershowitz & Reingold Announcement text:
The high-level API has been rewritten, and code written for 0.1 needs updating: dates are made with date(fields, "gregorian") and converted with d:to("hebrew"); calendars are given by name or as objects from calendar(...), replacing the cal_* constants, new_calendar and as_date. Calendars you define yourself are no longer registered under a name, so they cannot clash with others. Sunrise, sunset, moonrise and moonset now return a date with the time of day attached. New calendars: hebrew-civil (CLDR month numbers), islamic-diyanet, and a new module of modern civil calendars: Indian National, ROC (Minguo), Thai solar, revised Bengali, Nanakshahi, Amazigh and Japanese era. Fixes: Hindu lunar dates converted back to a fixed date, the astronomical Hindu calendars (book errata), Umm al-Qura dates, islamic-turkish now follows Diyanet's rule, and location's time zone is taken in hours. islamic-umalqura-astronomical has been removed (it was identical to islamic-saudi).
This package is located at https://mirrors.ctan.org/macros/luatex/generic/lua-calendrica More information is at https://ctan.org/pkg/lua-calendrica
Thanks for the upload. For the CTAN Team Vincent Goulet CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs.

Lua-calendrica – Lua implementation of Calendrical Calculations by Dershowitz & Reingold

This is a Lua port of the calendrical algorithms from Calendrical Calculations (4th edition) by Nachum Dershowitz and Edward M. Reingold.

It covers a wide range of calendars including Gregorian, Hebrew, Islamic, Persian, Chinese, Hindu (modern and old), Tibetan, Balinese, Mayan, Julian, Coptic, Ethiopic, French Revolutionary, Icelandic, Akan, Bahá’í, and more, along with astronomical calculations for sunrise, sunset, lunar phases, and solar terms.

PackageLua-calendrica
Version0.2 2026-10-13
MaintainerUdi Fogiel

Announcements

more

Guest Book Sitemap Contact Contact Author