diff options
Diffstat (limited to 'scripts/genlect.go')
| -rw-r--r-- | scripts/genlect.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/genlect.go b/scripts/genlect.go index 85ff1c2..6d7a43b 100644 --- a/scripts/genlect.go +++ b/scripts/genlect.go @@ -100,7 +100,11 @@ func main() { } slug := day.Observed.Slug isSunday := d.Weekday() == time.Sunday - if !isSunday && !properFerial[day.Season] { + // Ember and vigil days have a proper Mass even in the green seasons, so + // harvest them regardless of season (green ferias otherwise repeat the + // preceding Sunday and are skipped). + special := strings.Contains(slug, "ember") || strings.Contains(slug, "vigil") + if !isSunday && !properFerial[day.Season] && !special { continue // green-season feria -> repeats the Sunday } if seen[slug] { |
