respect 12/24 time formats
commit347a0865546b4fed2507f9731b5d68d84fe79f1e
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateMon 22 Jun 2015, 20:12 (11 years ago)
parenta93adb0
plugins/Wizard/timezonemodel.cpp+1−1
@@ -73,7 +73,7 @@ QVariant TimeZoneModel::data(const QModelIndex &index, int role) const
7373 case Comment:
7474 return tz.comment();
7575 case Time:
76− return QDateTime::currentDateTime().toTimeZone(tz).toString("H:mm");
76+ return QDateTime::currentDateTime().toTimeZone(tz).toString("h:mm");
7777 default:
7878 qWarning() << Q_FUNC_INFO << "Unsupported data role" << role;
7979 break;