duration nog conforming to FEEL specification
rmerkx opened this issue · comments
Hi Radec,
Expressions involving calculations with durations is not behaving as expected:
- date("2023-01-01") + duration("P1M") * 12 results in 12/27/2023 12:00:00 AM instead of 2023-12-01
- P12M == P1Y but (12 * P1M) != P12M.
The issue seems to be that cardinal periods are converted to timespans before being used in expression involving calculations on durations.
See example attached.
Kind regards,
Radoslaw