Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.1.1
-
None
-
Windows 7
-
68ff352906645a7a1beb0fa7e1ce34fff167c762 (qlocale_win, 27.9.2013), 6ab6ab73fe1055de8ce5a3b353b037424a84e187 (autotest fix)
Description
QString systemTime;
systemTime = QTime().currentTime().toString(Qt::SystemLocaleShortDate);
systemTime = QTime().currentTime().toString(Qt::SystemLocaleLongDate);
Result:
Both return the time format of Windows long time format.
e.g. h:mm:ss tt
Expected:
Qt::SystemLocaleShortDate should return Windows short time format. E.g. hh:mm tt
Qt::SystemLocaleLongDateshould return Windows short time format. E.g. h:mm:ss tt
Attachments
Issue Links
- relates to
-
QTBUG-36306 tst_QLocale::windowsDefaultLocale() fails on Win for languages != en_US
- Closed
For Gerrit Dashboard: QTBUG-33718 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
66795,4 | Use the short time format of the current locale on Windows | stable | qt/qtbase | Status: MERGED | +2 | 0 |