diff --git a/ElectronicObserver/Window/Wpf/SenkaLeaderboard/SenkaLeaderboardManager.cs b/ElectronicObserver/Window/Wpf/SenkaLeaderboard/SenkaLeaderboardManager.cs index e0946f99f..25363eb9b 100644 --- a/ElectronicObserver/Window/Wpf/SenkaLeaderboard/SenkaLeaderboardManager.cs +++ b/ElectronicObserver/Window/Wpf/SenkaLeaderboard/SenkaLeaderboardManager.cs @@ -42,9 +42,9 @@ private void OnSenkaLeaderboardCutoffChanged(object? sender, PropertyChangedEven CurrentCutoffData.Reset(); } - private SenkaCutoffKind GetSankaLeaderboardCutoffKind() => DateTimeHelper.GetJapanStandardTimeNow().TimeOfDay switch + private SenkaCutoffKind GetSankaLeaderboardCutoffKind() => DateTimeHelper.GetJapanStandardTimeNow() switch { - { Hours: >= 15 or < 3 } => SenkaCutoffKind.MidDay, + { Hour: >= 15 or < 3 } => SenkaCutoffKind.MidDay, _ => SenkaCutoffKind.NewDay, };