-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
Describe the Bug
Given I subtract one date from another, the result is always returned as the seconds in time duration format. I'd expect the days duration to be returned.
So duration("PD1") instead of duration("PT86400S") for date(today()) - date(today() - duration("P1D"))
Steps to Reproduce
Expected Behavior
Return days, hours, minutes, seconds if possible.
Environment
- Host (Browser/Node version), if applicable: [e.g. MS Edge 18, Chrome 69, Node 10 LTS]
- OS: [e.g. Windows 7]
- Library version: [e.g. 2.0.0]
Reported initially via https://camunda.slack.com/archives/C01QYD808A3/p1737037273702449
Related to #49
Reactions are currently unavailable