We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
The Subtracion of two date doesn't return a days in time duration as described in the documentation, instead it returns an hours duration
date("2020-04-06") - date("2020-04-01") // duration("P120H")
There is a workaround, wrap the subtracion in the string() function
string()
string(date("2020-04-06") - date("2020-04-01")) date("2020-04-06") - date("2020-04-01") // duration("P5D")
To Reproduce
Use the playground and evaluate the expression date("2020-04-06") - date("2020-04-01")
date("2020-04-06") - date("2020-04-01")
Expected behavior The subtraction should return a duration of days also without the string wrap
Environment
SUPPORT-24657
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The Subtracion of two date doesn't return a days in time duration as described in the documentation, instead it returns an hours duration
There is a workaround, wrap the subtracion in the
string()
functionTo Reproduce
Use the playground and evaluate the expression
date("2020-04-06") - date("2020-04-01")
Expected behavior
The subtraction should return a duration of days also without the string wrap
Environment
SUPPORT-24657
The text was updated successfully, but these errors were encountered: