Liturgical-Calendar / LiturgicalCalendarAPI

A PHP script / API endpoint that will generate the Roman Catholic liturgical calendar for any given year, calculating the mobile festivities and the precedence of solemnities, feasts, memorials...
Apache License 2.0
48 stars 11 forks source link

add abbreviated form of liturgical rank #251

Open JohnRDOrazio opened 15 hours ago

JohnRDOrazio commented 15 hours ago

Currently we only include the following properties in a calendar event, as regards liturgical rank:

We do not however include any abbreviated form, which can be useful for displaying a liturgical calendar.

We could add yet another property grade_abbr with localized forms of abbreviations.

For example in English:

• S	= Solemnity
• F✝	= Feast of the Lord
• F	= Feast
• M	= Memorial
• m	= Optional Memorial
• m*	= Optional Commemoration
• w	= weekday

In Italian:

• S	= Solennità
• F✝	= Festa del Signore
• F	= Festa
• M	= Memoria
• mf	= Memoria facoltativa
• mf*	= Commemorazione
• f	= giorno feriale

In Latin:

• S	= Solemnitas
• F✝	= Festum Domini
• F	= Festum
• M	= Memoria obligatoria
• m	= memoria ad libitum
• m*	= commemoratio
• f	= feria

Perhaps we will also need a display_grade_abbr property? Only two cases so far are:

JohnRDOrazio commented 15 hours ago

Implementing this will allow to continue with Liturgical-Calendar/liturgy-components-php/issues/7

JohnRDOrazio commented 15 hours ago

related issue: #253