diff --git a/src/Client/Pages/Personal/Dashboard.razor.cs b/src/Client/Pages/Personal/Dashboard.razor.cs index 4fcadd57..7c2c6be0 100644 --- a/src/Client/Pages/Personal/Dashboard.razor.cs +++ b/src/Client/Pages/Personal/Dashboard.razor.cs @@ -1,4 +1,5 @@ -using FSH.BlazorWebAssembly.Client.Infrastructure.ApiClient; +using System.Globalization; +using FSH.BlazorWebAssembly.Client.Infrastructure.ApiClient; using FSH.BlazorWebAssembly.Client.Infrastructure.Notifications; using FSH.BlazorWebAssembly.Client.Shared; using FSH.WebApi.Shared.Notifications; @@ -23,7 +24,7 @@ public partial class Dashboard [Inject] private ICourier Courier { get; set; } = default!; - private readonly string[] _dataEnterBarChartXAxisLabels = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; + private readonly string[] _dataEnterBarChartXAxisLabels = DateTimeFormatInfo.CurrentInfo.AbbreviatedMonthNames; private readonly List _dataEnterBarChartSeries = new(); private bool _loaded; @@ -59,4 +60,4 @@ private async Task LoadDataAsync() } } } -} \ No newline at end of file +}