On 28.11.24 13:40, Ale Martinez wrote:
> But that doesn't explain the change in default century, does it?
I don't understand it either.
Version 6.7 introduced the baseYear parameter with the
DefaultTwoDigitBaseYear value as default
https://pages-test.qt.io/qt-6.7/qdate.html#static-public-members
While the default is 1900, it's now allowed to be overwritten by some qt
functions and system locales.
https://doc.qt.io/qt-6/qlocale.html#DefaultTwoDigitBaseYear-var
> Some locales use, particularly for ShortFormat, only the last two digits of the year. Proir to 6.7 the year 1900 was always used as a base year for such cases. Now various QLocale and QDate functions have the overloads that allow callers to specify the base year, and this constant is used as its default value.