[i324] New Year Show automated announcement #328

Open
rho_n wants to merge 5 commits from i324_New-Year_Show into main
Showing only changes of commit ad21bb045c - Show all commits

View File

@@ -156,12 +156,30 @@
<!--% IF date.format(date.now, '%m') != 12 || date.format(date.now, '%j') == 1 %-->
<!--% ordinal_year = ordinal_year - 1 %-->
<!--% END %-->
<!--% years.14 = 'Fourteenth'
<!--% years.0 = 'th'
years.1 = 'st'
years.2 = 'nd'
years.3 = 'rd'
years.4 = 'th'
years.5 = 'th'
years.6 = 'th'
years.7 = 'th'
years.8 = 'th'
years.9 = 'th'
years.14 = 'Fourteenth'
years.15 = 'Fifteenth'
years.16 = 'Sixteenth'
years.17 = 'Seventeenth'
years.18 = 'Eighteenth'
years.19 = 'Nineteenth'
years.20 = 'Twentieth' %-->
<!--% years.$ordinal_year %-->
years.20 = 'Twentieth'
years.30 = 'Thirtieth'
years.40 = 'Fortieth'
years.50 = 'Fiftieth' %-->
<!--% index = ordinal_year % 10 %-->
<!--% IF ordinal_year < 21 || (index == 0 && ordinal_year < 51) %-->
<!--% years.$ordinal_year %-->
<!--% ELSE %-->
<!--% ordinal_year %--><sup><!--% years.$index %--></sup>
<!--% END %-->
<!--% END %-->