diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2024-12-11 16:53:19 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2024-12-13 14:47:44 +0100 |
| commit | 98ddef287cf01b8830132d828b61f5efc86f7918 (patch) | |
| tree | 69893f3f5463f178b48f120e2b6006afeddaa2b5 /src/corelib/serialization/qdatastream.cpp | |
| parent | 72519aeb237a4085aeb6290b0b4088c690fad106 (diff) | |
Adjust unknown year to leap if it helps get a valid date
Where QDateTimeParser doesn't know the year and the day of month is
out of range for the known month and uncertain year, try adjusting to
a leap year to see if that solves the problem.
Change-Id: Ic1c126fba9f0901447503fda46c9830834c30038
Reviewed-by: Magdalena Stojek <magdalena.stojek@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/serialization/qdatastream.cpp')
0 files changed, 0 insertions, 0 deletions
