Merge pull request #52 from jglueckstein/suffix-fix

Fixed day suffix - there's no 33rd, but there is a 23rd
This commit is contained in:
Rene Schallner
2022-01-01 03:06:00 +01:00
committed by GitHub

View File

@@ -218,7 +218,7 @@ local function daysuffix(day)
if (day == "2") or (day == "22") then if (day == "2") or (day == "22") then
return "nd" return "nd"
end end
if (day == "3") or (day == "33") then if (day == "3") or (day == "23") then
return "rd" return "rd"
end end
return "th" return "th"