Fix day of month suffix option

master
stweedo 2023-06-20 01:50:35 -05:00
parent b6706134e8
commit 1e25c97a45
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@
} else {
suffix = "th";
}
let dayOfMonthStr = short ? dayOfMonth : (disableSuffix ? dayOfMonth : dayOfMonth + suffix);
let dayOfMonthStr = disableSuffix ? dayOfMonth : dayOfMonth + suffix;
return month + " " + dayOfMonthStr + (short ? '' : (", " + year)); // not including year for short version
};