style: format code with Prettier

This commit fixes the style issues introduced in b22adbd according to the output
from Prettier.

Details: None
This commit is contained in:
deepsource-autofix[bot] 2024-05-26 20:57:03 +00:00 committed by GitHub
parent b22adbda96
commit dfc25ac503
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,14 +32,14 @@ export function getMonth(date: Date): string {
}
export function getDaySuffix(date: Date): string {
let suffix = 'th';
let suffix = "th";
if (date.getDate() % 10 === 1 && date.getDate() !== 11) {
suffix = 'st';
suffix = "st";
} else if (date.getDate() % 10 === 2 && date.getDate() !== 12) {
suffix = 'nd';
suffix = "nd";
} else if (date.getDate() % 10 === 3 && date.getDate() !== 13) {
suffix = 'rd';
suffix = "rd";
}
return suffix;
}
}