Incrementing “2018-01-29” with “P1M2D” is calculated as (“2018-01-29” + “P2D”) + “P1M”. The next step gives “2018-01-31” + “P2M”, which results in “2018-02-31”, and is resolved to “2018-02-28” via lower order truncation.
The "next step" contains a P2M, which should be P1M.
In GitLab by @dmfs on Sep 7, 2018, 07:46
The examples contain a typo in:
The "next step" contains a
P2M
, which should beP1M
.