mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-02-11 10:04:23 +01:00
Fix 12/24 hour detection
This commit is contained in:
parent
2949858bfc
commit
fe3273201b
|
|
@ -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