Change year parsing to be the same as python datetime.