Add leading zeros to years below 1000 in QDate::toString().