Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.7.1, 6.5
-
None
Description
There is also such a problem in the 6.5 version of Qt
//sample code
QLocale locale(QLocale::English, QLocale::UnitedStates);
QDateTime qt = locale.toDateTime("Mon, 05 Jun 2023 08:42:09", "ddd, dd MMM yyyy hh:mm:ss");
//In the Chinese system, The following line of code will output "Mon, 05 Jun 2023 08:42:09 中国标准时间"
qDebug()<<locale.toString(qt,"ddd, dd MMM yyyy hh:mm:ss t");
Attachments
Issue Links
- resulted from
-
QTBUG-115158 Time zone names and abbreviations are not localised
- In Progress
Gerrit Reviews
For Gerrit Dashboard: QTBUG-114914 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
544274,12 | Rework QTZP::displayName() to use locale and data() more | dev | qt/qtbase | Status: NEW | +2 | 0 |
544309,3 | WIP: implement feature timezone_locale's CLDR half | dev | qt/qtbase | Status: NEW | -2 | 0 |