mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-07 15:23:55 +00:00
Fix 12/24 hour detection
This commit is contained in:
parent
2949858bfc
commit
fe3273201b
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ namespace PowerControl
|
|||
|
||||
private static bool Is24hClock
|
||||
{
|
||||
get => DateTimeFormatInfo.CurrentInfo.ShortTimePattern.Contains("HH");
|
||||
get => DateTimeFormatInfo.CurrentInfo.ShortTimePattern.Contains('H');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue