Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6
-
None
-
8
-
Foundation PM Staging
Description
All Q/Date/Time::fromString/toString() methods should handle single-quotes the same way, so that a format string survives the round-trip of fromString()/toString(). There are currently no known bugs because of this, but the parsing should be uniform anyway. At present the docs aren't even consistent with one another; and the behaviour doesn't seem to match the intended (CLDR-compatible) treatment of two adjacent single quotes in the format string (regardless of whether within other single quotes) as denoting a plain single quote character in the date/time string.
The CLDR specification gives, as one of the forms of verbatim text:
Two adjacent single vertical quotes (''), which represent a literal single quote, either inside or outside quoted text.
Attachments
Issue Links
- is covered by
-
QTBUG-77948 Rewrite QDateTimeParser
- In Progress
- relates to
-
QTBUG-117055 Implement a generic internal framework for formats for parsing and serializing
- Open
-
QTBUG-81056 Add QDateTimeFormat based on CLDR's format strings
- Open