diff options
-rw-r--r-- | apps/files_reminders/src/shared/utils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_reminders/src/shared/utils.ts b/apps/files_reminders/src/shared/utils.ts index 358ca09aa25..165d409ad2c 100644 --- a/apps/files_reminders/src/shared/utils.ts +++ b/apps/files_reminders/src/shared/utils.ts @@ -119,7 +119,7 @@ export const getDateString = (dueDate: Date): string => { } export const getVerboseDateString = (dueDate: Date): string => { - const localeOptions: Intl.DateTimeFormatOptions = { + const formatOptions: Intl.DateTimeFormatOptions = { weekday: 'long', hour: 'numeric', minute: '2-digit', @@ -129,6 +129,6 @@ export const getVerboseDateString = (dueDate: Date): string => { return dueDate.toLocaleString( getCanonicalLocale(), - localeOptions, + formatOptions, ) } |