DateAdd No Longer Allowing Decimals

Description

Due to some recent parser changes the ability for DateAdd to take a decimal is no longer functioning. Previously the argument, which is declared as type long would be cast, but that is no longer the case. The following code:

Will throw the error:

Both ACF and Lucee will accept a decimal argument.

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created February 27, 2025 at 2:42 PM
Updated February 27, 2025 at 3:41 PM
Resolved February 27, 2025 at 3:41 PM