summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/haiku/qhaikucursor.cpp
diff options
authorEdward Welbourne <edward.welbourne@qt.io>2024-10-25 18:04:35 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2025-04-29 16:04:33 +0200
commit2edd9286cf386675be76032424248e60216f6331 (patch)
tree7d805b7171f61ea3ba8a6bc161ce01c81a529ae6 /src/plugins/platforms/haiku/qhaikucursor.cpp
parentef5d9702a9726aca186fb89f9860b486f48db301 (diff)
Fix long-form zone parts in date-time stringsHEADdev
Recent changes to date-time formatting arranged for time-zone names to be localized appropriately. Teach the datetime parser to recognize the long names that now implies, as well as IANA IDs, and ensure these last are also used as a fallback when no localized long name is available. Discrepancies between the platform time-zone backend and our CLDR-derived name L10n (where needed, due to the backend lacking it) make the naive approach to this (find any zone that matches, expect them all to have the same offset history) fail, so take care in this case to select as canonical an IANA ID for the named zone as we can find. Add a round-trip test and adapt an existing test to round-trip when it can. [ChangeLog][QtCore][QDateTime] The tttt format specifier now uses the full long name of the zone, falling back to its IANA ID only if this cannot be determined. Both forms are now recognized when reading a datetime from a string. [ChangeLog][QtCore][QLocale] When serializing a datetime, the tttt specifier now uses the localized full long name of the zone, falling back to its IANA ID only if this cannot be determined. Both forms are now recognized when reading a datetime from a string. Pick-to: 6.9 6.8 Fixes: QTBUG-130278 Change-Id: Ia28529790c0f600930d55c92a606adbcdfa852b9 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/plugins/platforms/haiku/qhaikucursor.cpp')
0 files changed, 0 insertions, 0 deletions
close