Objects of datetime.datetime are immutable

- Needs to be assigned the replacement to the same source variable.
  - Also fix the test to account for the year rule.