Display of RadzenScheduler in YearView the day of the week is incorrect in Chinese

I am a Chinese user. 
When I use RadzenYearView of RadzenScheduler, I find that the display of the 
days of the week is incomplete. It should be '週日','週一','週二'..., 
but now it can only display '週','週','週'... 
I checked your demo 
( [Blazor Scheduler Component | Free UI Components by Radzen](https://blazor.radzen.com/scheduler?theme=material3#tooltips)) 
and found the same problem.
![RadzenScheduler|690x431](upload://iBA78sbcTCM6wHxokR8Vnxibsh7.png)

thanks for your help!

Hi @eric213723,

RadzenScheduler uses the .NET CultureInfo to provide localized day names. If you think you can improve it somehow feel free to submit a pull request.

No problem, I just finished the modification and submit a pull request.

Sorry, I found I fail to submit a pull request, would you modify the code? The file is
Radzen.Blazor\Rendering\YearView.razor line 45 modified to
@dateheader.ToString("ddd", Scheduler.Culture)

Thanks.

@korchev - I have just run the change locally and, in British Culture, looks fine having three characters displayed (not just fine, it is an improvement!). I was worried it would have an effect on the formatting of the calendar.

@eric213723 - Are you unsure of the pull request (PR) procedure? If so, I don't mind submitting the change. If you are comfortable with PR's, it is better that you do submit it yourself.

Many regards

Paul

@Paul_Ruston I'm OK with the PR, please submitting the change.

Thanks

Eric

1 Like