Skip to content

Commit ce26b20

Browse files
authored
Fix: Fixed wrong date format when language is set to Default (#11087)
1 parent 7157cee commit ce26b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/ServicesImplementation/DateTimeFormatter/AbstractDateTimeFormatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Files.App.ServicesImplementation.DateTimeFormatter
88
{
99
internal abstract class AbstractDateTimeFormatter : IDateTimeFormatter
1010
{
11-
private static readonly CultureInfo cultureInfo = new(ApplicationLanguages.PrimaryLanguageOverride);
11+
private static readonly CultureInfo cultureInfo = new(ApplicationLanguages.Languages[0]);
1212

1313
public abstract string Name { get; }
1414

0 commit comments

Comments
 (0)