Handle two-digit years with leading zeros correctly.