From a479e8882360b3fbdf5647c62af416618f999410 Mon Sep 17 00:00:00 2001 From: tommy Date: Fri, 12 Jul 2024 08:30:10 -0400 Subject: [PATCH] delete unused module --- src/modules/ordinal.lua | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 src/modules/ordinal.lua diff --git a/src/modules/ordinal.lua b/src/modules/ordinal.lua deleted file mode 100644 index 5c25a0f..0000000 --- a/src/modules/ordinal.lua +++ /dev/null @@ -1,9 +0,0 @@ -s=string.sub;t=tonumber -return function(n) - local o, d = {'st', 'nd', 'rd'}, s(n, -1) - if t(d) > 0 and t(d) <= 3 and s(n,-2) ~= 11 and s(n,-2) ~= 12 and s(n,-2) ~= 13 then - return n .. o[t(d)] - else - return n .. 'th' - end -end \ No newline at end of file