oh righ
This commit is contained in:
parent
b6b01636f5
commit
8efd85e0a9
1 changed files with 0 additions and 3 deletions
|
@ -23,9 +23,6 @@ namespace {
|
|||
fn getOrdinalSuffix(const i32 day) -> CStr {
|
||||
using matchit::match, matchit::is, matchit::_, matchit::within;
|
||||
|
||||
if (day >= 11 && day <= 13)
|
||||
return "th";
|
||||
|
||||
return match(day % 10)(
|
||||
is | within(11, 13) = "th",
|
||||
is | 1 = "st",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue