diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-26 14:51:55 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-26 14:51:55 +0200 |
| commit | 1c0137dee8ff3858707281366662891a5ff01044 (patch) | |
| tree | 6d3be8b63f4760bee1a800f9dee916649cda8cf8 /lib/render/emit_ics.mli | |
| parent | e5cbc662227de4f3ab0089fe73f639f4f84601a4 (diff) | |
| download | colitur-1c0137dee8ff3858707281366662891a5ff01044.tar.gz colitur-1c0137dee8ff3858707281366662891a5ff01044.zip | |
fix(cli): render the Second reading on colitur readings
The OF lectionary (data/of/lectionary.sexp) carries 183 Second readings,
146 of them on Sunday keys, and the kernel resolves them correctly -- but
readings_line (EF) and readings_line_of (OF) in bin/main.ml only ever
printed Citation.First and Citation.Gospel, so `colitur readings --rite of`
silently dropped every Second reading it computed.
Both functions gain a second_suffix lookup, spliced between the existing
First and Gospel fields, present only when the day carries a Second
citation. No rite check: EF's citation_shapes is [[First; Gospel]] alone,
so EF rows are unaffected by construction, not by special-casing.
EF byte-identity verified two ways: `git diff --stat v1.0.0..HEAD --
data/ef/` is empty, and `colitur day`/`colitur readings --rite ef` for
2026, 1583 and 9999 cmp identical against a build of the prior commit.
test/cli.t: fixed the one now-stale assertion and added coverage for the
three-citation OF Sunday shape alongside the unchanged two-citation OF
weekday and EF shapes.
Diffstat (limited to 'lib/render/emit_ics.mli')
0 files changed, 0 insertions, 0 deletions
