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.
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.