Merge pull request #2883 from Ishmaeel/ishmaeel_2882

Fix ClockText and DateText to use CurrentUICulture
This commit is contained in:
VictoriousRaptor 2024-08-12 12:45:11 +08:00 committed by GitHub
commit 59ed2b11b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -155,9 +155,9 @@ public partial class SettingsPaneThemeViewModel : BaseModel
set => Settings.KeepMaxResults = value;
}
public string ClockText => DateTime.Now.ToString(TimeFormat, CultureInfo.CurrentCulture);
public string ClockText => DateTime.Now.ToString(TimeFormat, CultureInfo.CurrentUICulture);
public string DateText => DateTime.Now.ToString(DateFormat, CultureInfo.CurrentCulture);
public string DateText => DateTime.Now.ToString(DateFormat, CultureInfo.CurrentUICulture);
public bool UseGlyphIcons
{