Skip to content

Commit

Permalink
Hour
Browse files Browse the repository at this point in the history
  • Loading branch information
Jebzou committed Nov 24, 2024
1 parent 99047b7 commit 41aa569
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 41aa569

Please sign in to comment.