Skip to content

Commit 59ed2b1

Browse files
Merge pull request #2883 from Ishmaeel/ishmaeel_2882
Fix ClockText and DateText to use CurrentUICulture
2 parents b0228e0 + 2054e61 commit 59ed2b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher/SettingPages/ViewModels/SettingsPaneThemeViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ public bool KeepMaxResults
155155
set => Settings.KeepMaxResults = value;
156156
}
157157

158-
public string ClockText => DateTime.Now.ToString(TimeFormat, CultureInfo.CurrentCulture);
158+
public string ClockText => DateTime.Now.ToString(TimeFormat, CultureInfo.CurrentUICulture);
159159

160-
public string DateText => DateTime.Now.ToString(DateFormat, CultureInfo.CurrentCulture);
160+
public string DateText => DateTime.Now.ToString(DateFormat, CultureInfo.CurrentUICulture);
161161

162162
public bool UseGlyphIcons
163163
{

0 commit comments

Comments
 (0)