Verify or add a calendar year¶
The month-length table lives in data/calendar.csv. Verifying rows against a
published panchang is the most useful contribution you can make. The full
procedure, including the invariants enforced by tools/build_table.py, is in
data/README.md.
In short:
Get a published panchang for the year (the national panchang is published at https://npns.gov.np).
Read every month boundary (the day the day number returns to 1), the Gregorian date printed for it, and the weekday of Baisakh 1.
Update the row, set
evidencetoverified, and cite the document indata/sources.tomlwith its URL and SHA-256 checksum.Run
uv run python tools/build_table.pyto regenerate the table.Add a
calendarnews fragment inchangelog.d/and open a pull request using the “New calendar year” or “Calendar discrepancy” template.
Changes to calendar data are released as a new minor version.