Add year to the date, not the date/time when changing centuries
In timezones with DST having been introduced at some point in that interval QDateTime::addYear also adjusts the time. That's not what we want here, the only thing we want to change is the century.
Please register or sign in to comment