Created
June 25, 2022 14:33
-
-
Save igneus/90a27b77467b0709bb64b7ac9165d773 to your computer and use it in GitHub Desktop.
Occurrence of Sacred Heart with another solemnity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In which years Sacred Heart occurs with another solemnity and | |
# https://github.com/igneus/calendarium-romanum/issues/80 | |
# will hit again? | |
require 'calendarium-romanum/cr' | |
sanctorale = CR::Data::GENERAL_ROMAN_ENGLISH.load | |
(2020..2200).each do |liturgical_year| | |
date = CR::Temporale::Dates.sacred_heart liturgical_year | |
c = sanctorale[date] | |
next unless c.first&.solemnity? | |
puts "#{date}: #{c.first.symbol}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment