const dateOrdinalSuffix = (dt) => { return ( dt + (dt % 10 === 1 && dt !== 11 ? 'st' : dt % 10 === 2 && dt !== 12 ? 'nd' : dt % 10 === 3 && dt !== 13 ? 'rd' : 'th') ); }; // dt is the date as an int