diff --git a/src/Core/Components/DateTime/CalendarExtended.cs b/src/Core/Components/DateTime/CalendarExtended.cs
index 79a4829852..ae388b523d 100644
--- a/src/Core/Components/DateTime/CalendarExtended.cs
+++ b/src/Core/Components/DateTime/CalendarExtended.cs
@@ -110,16 +110,18 @@ public string GetMonthNameAndYear()
/// Returns a list of days, abbreviated and complete (Mon, Monday), ...,(Sun, Sunday) in the correct culture.
///
///
- public IEnumerable<(string Abbreviated, string Name)> GetDayNames()
+ public IEnumerable<(string Abbreviated, string Shorted, string Name)> GetDayNames()
{
int firstDayOfWeek = (int)GetFirstDayOfWeek();
var abbreviated = Culture.DateTimeFormat.AbbreviatedDayNames;
var names = Culture.DateTimeFormat.DayNames;
- var dayNames = new (string Abbreviated, string Name)[7];
+ var shorted = Culture.DateTimeFormat.ShortestDayNames;
+ var dayNames = new (string Abbreviated, string Shorted, string Name)[7];
for (int i = 0; i < 7; i++)
{
dayNames[i].Name = ToTitleCase(names[i]);
+ dayNames[i].Shorted = shorted[i];
dayNames[i].Abbreviated = ToTitleCase(abbreviated[i]);
}
@@ -177,4 +179,4 @@ private string ToTitleCase(string value)
{
return Culture.TextInfo.ToTitleCase(value);
}
-}
+}
\ No newline at end of file
diff --git a/src/Core/Components/DateTime/FluentCalendar.razor b/src/Core/Components/DateTime/FluentCalendar.razor
index cdeb29734a..3f8b8806f7 100644
--- a/src/Core/Components/DateTime/FluentCalendar.razor
+++ b/src/Core/Components/DateTime/FluentCalendar.razor
@@ -43,7 +43,7 @@
@foreach (var weekDay in CalendarExtended.GetDayNames())
{
- @weekDay.Abbreviated[0]
+ @weekDay.Shorted
}