We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e944c commit 4b569c3Copy full SHA for 4b569c3
src/BootstrapBlazor/Components/DateTimePicker/DatePickerBody.razor.cs
@@ -537,7 +537,7 @@ private List<string> GetWeekList()
537
538
// 调整顺序
539
var firstDayIndex = (int)FirstDayOfWeek;
540
- return list.Skip(firstDayIndex).Concat(list.Take(firstDayIndex)).ToList();
+ return [.. list.Skip(firstDayIndex), .. list.Take(firstDayIndex)];
541
}
542
543
private async Task UpdateDisabledDaysCache(bool force)
0 commit comments