Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.8.0, 5.1.0 Beta 1
-
Windows 7, Qt 4.8 from the QtSDK
-
68ff352906645a7a1beb0fa7e1ce34fff167c762
Description
The following code:
qDebug() << QLocale::system().dateFormat(QLocale::LongFormat); qDebug() << QLocale::system().dateFormat(QLocale::ShortFormat); qDebug() << QLocale::system().timeFormat(QLocale::LongFormat); qDebug() << QLocale::system().timeFormat(QLocale::ShortFormat);
produces:
"dddd, dd. MMMM yyyy"
"dd.MM.yyyy"
"HH:mm:ss"
"HH:mm:ss"
Here the short time format is wrong (note the ":ss").
The settings under Windows 7 are:
Date (long): TTTT, TT.MMMM JJJJ
Date (short): TT.MM.JJJJ
Time (long): HH:mm:ss
Time (short): HH:mm