mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-03-29 08:55:02 +02:00
Fix 12/24 hour detection
This commit is contained in:
parent
4427ea6fff
commit
fc3b81a2cd
|
|
@ -43,7 +43,7 @@ namespace PowerControl
|
|||
|
||||
private static bool Is24hClock
|
||||
{
|
||||
get => DateTimeFormatInfo.CurrentInfo.ShortTimePattern.Contains("HH");
|
||||
get => DateTimeFormatInfo.CurrentInfo.ShortTimePattern.Contains('H');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue