Skip to content

Commit

Permalink
Use AbbreviatedDayNames instead of DayNames for day titles
Browse files Browse the repository at this point in the history
  • Loading branch information
PenguinPero committed Jul 9, 2019
1 parent c2ecac2 commit 60f77b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Calendar.Plugin/Shared/Controls/MonthDaysView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ private void UpdateDayTitles()

foreach (var dayLabel in daysTitleControl.Children.OfType<Label>())
{
dayLabel.Text = Culture.DateTimeFormat.DayNames[dayNumber].Substring(0, 3).ToUpper();
dayLabel.Text = Culture.DateTimeFormat.AbbreviatedDayNames[dayNumber].Substring(0, 3).ToUpper();
dayNumber = (dayNumber + 1) % 7;
}
}
Expand Down

0 comments on commit 60f77b2

Please sign in to comment.