Skip to content

Commit

Permalink
https://topcoder.atlassian.net/browse/CORE-293
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgasper committed Feb 9, 2024
1 parent 3e909ff commit ce1c2a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/shared/utils/challenge-detail/helper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,12 @@ export default getEndDate;
export const formatOrdinals = (n) => {
let ord = '';
switch (n) {
case 1: ord = '1st';
break;
case 2: ord = '2nd';
break;
case 3: ord = '3rd';
break;
case '1': ord = '1st';
break;
case '2': ord = '2nd';
Expand Down

0 comments on commit ce1c2a9

Please sign in to comment.