From f2dd5c037f7b6b4336af67fe5e382ebfba44b458 Mon Sep 17 00:00:00 2001 From: Blaine Landowski <42892508+blalan05@users.noreply.github.com> Date: Fri, 12 Jan 2024 19:13:43 -0600 Subject: [PATCH] fix(date): return unmodified DateTimeFormat (#19017) fixes #19013 --- packages/vuetify/src/composables/date/adapters/vuetify.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/vuetify/src/composables/date/adapters/vuetify.ts b/packages/vuetify/src/composables/date/adapters/vuetify.ts index a96db35935e..7d056fbb853 100644 --- a/packages/vuetify/src/composables/date/adapters/vuetify.ts +++ b/packages/vuetify/src/composables/date/adapters/vuetify.ts @@ -263,8 +263,7 @@ function getWeekdays (locale: string) { return createRange(7).map(i => { const weekday = new Date(sundayJanuarySecond2000) weekday.setDate(sundayJanuarySecond2000.getDate() + daysFromSunday + i) - const formattedDay = new Intl.DateTimeFormat(locale, { weekday: 'short' }).format(weekday) - return formattedDay.charAt(0).toUpperCase() + formattedDay.slice(1) + return new Intl.DateTimeFormat(locale, { weekday: 'narrow' }).format(weekday) }) }