From dfc25ac5034919d33031b80b2a99fdf636301558 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 26 May 2024 20:57:03 +0000 Subject: [PATCH] style: format code with Prettier This commit fixes the style issues introduced in b22adbd according to the output from Prettier. Details: None --- src/utils.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils.ts b/src/utils.ts index bd49194..223c530 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -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; -} \ No newline at end of file +}