Commit 98842f8b authored by David Jarvie's avatar David Jarvie
Browse files

Use default locale, not system one

parent af7b0165
......@@ -224,7 +224,7 @@ namespace
bool use12HourClock()
const QString fmt = QLocale::system().timeFormat();
const QString fmt = QLocale().timeFormat();
// 'A' or 'a' = show am/pm; 'H' displays 24-hour format regardless.
return fmt.contains(QLatin1Char('a'), Qt::CaseInsensitive) && !fmt.contains(QLatin1Char('H'));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment