Add July sanctoral content: 11 saints/feasts, fix St. Leo II's wrong date
Deploy / deploy (push) Successful in 1m6s
Deploy / deploy (push) Successful in 1m6s
Continues the full-year sanctoral import: the Most Precious Blood of Our Lord (Duplex I Classis, full proper office, elevated by Pius XI for the 1933 Redemption jubilee), the Visitation of the BVM (Duplex II Classis, full proper office), St. Leo II, St. Anthony Mary Zaccaria, the Octave Day of Ss. Peter and Paul (own real content, not a bare continuation), Ss. Cyril and Methodius, St. Elizabeth of Portugal, St. Henry, Our Lady of Mount Carmel, St. Vincent de Paul, and St. Ignatius of Loyola. Also fixes a real pre-existing bug surfaced while authoring St. Leo II: an earlier June sanctoral pull had mapped him to "06-28" (his own vita text mentions his burial "upon the 28th day of June," but his actual liturgical feast, per the reference engine's Sancti/07-03.txt, is July 3) with no saints/st-leo-ii.yml ever authored for it -- a wrong-date stub, same class of artifact as the pre-existing St. Apollinaris wrong-date bug already documented in july-sanctoral.test.ts. Removed the stale June 28 entry now that he's correctly authored on July 3. Two day-label tests pinned to Trinity-Sunday-relative dates that now collide with new fixed feasts (Jul 6: Octave Day of Ss. Peter and Paul) were moved to collision-free years/dates, and the July stub test covering "pure octave-continuation days" was updated to a date (July 4) that's still genuinely unmapped, since most of that range turned out to have real content after all. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -30,9 +30,12 @@ describe('getDayLabel — ordinal temporal label', () => {
|
||||
});
|
||||
|
||||
it('gives the correct week-after-Trinity ordinal', () => {
|
||||
// Trinity Sunday 2026 is May 31; Jul 6 falls 5 full weeks after the
|
||||
// first Sunday-after-Trinity (Jun 7).
|
||||
expect(getDayLabel(resolveDay('2026-07-06'))).toBe('Monday in the 5th week after Trinity');
|
||||
// Not 2026 (Jul 6): that date is now the Octave Day of Ss. Peter and
|
||||
// Paul's own fixed day (Duplex majus, added per the full-year
|
||||
// sanctoral import), which wins outright. 2027's Trinity Sunday is
|
||||
// May 23, so 5 full weeks after the first Sunday-after-Trinity
|
||||
// (May 30) is Jun 28 -- free of any sanctoral entry.
|
||||
expect(getDayLabel(resolveDay('2027-06-28'))).toBe('Monday in the 5th week after Trinity');
|
||||
});
|
||||
|
||||
it("Advent's own anchor Sunday is already week 1, not a separate anchor-week case", () => {
|
||||
|
||||
@@ -45,10 +45,14 @@ describe('July sanctoral pull (first pass)', () => {
|
||||
});
|
||||
|
||||
it('pure octave-continuation days with no named saint at all are excluded entirely', () => {
|
||||
// 07-01 through 07-06 are St. John the Baptist's and Ss. Peter and
|
||||
// Paul's octave continuations — no independent saint, so nothing in
|
||||
// sanctoral-calendar.yml maps to them.
|
||||
const day = resolveDay('2028-07-03');
|
||||
// 07-01 through 07-08 mostly turned out to have real independent
|
||||
// content after all (see vu-sanctoral-sweep-progress memory) --
|
||||
// Most Precious Blood, the Visitation, St. Leo II, St. Anthony Mary
|
||||
// Zaccaria, the Octave Day of Ss. Peter and Paul itself, Ss. Cyril
|
||||
// and Methodius, and St. Elizabeth of Portugal are all now mapped.
|
||||
// 07-04 and 07-09, within those same two octaves, genuinely have no
|
||||
// independent content in the reference engine and remain excluded.
|
||||
const day = resolveDay('2028-07-04');
|
||||
expect(day.winner.kind).toBe('temporal');
|
||||
expect(day.commemorations).toEqual([]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user