CalConnect / cc-datetime-explicit

1 stars 1 forks source link

Typo in Appendix A #9

Closed calconnect-ci closed 4 years ago

calconnect-ci commented 4 years ago

In GitLab by @dmfs on Sep 7, 2018, 07:46

The examples contain a typo in:

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.

calconnect-ci commented 4 years ago

In GitLab by @ronaldtse on Sep 7, 2018, 08:05

Thanks for spotting this! Probably got confused editing the 2D and 1M...