-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Rule - Smart Values
-
Severity 3 - Minor
Issue Summary
When using .withMillis() on a Date entity in Automation, it will always set the milliseconds
Steps to Reproduce
- Use a date function like now and then set the milliseconds with withMillis before logging the value with a Log Action.
Expected Results
The milliseconds are set correctly:
{{now.withMillis(500)}}
2024-10-20T12:00:00.5+0000
Actual Results
The milliseconds are set incorrectly:
{{now.withMillis(500)}}
2024-10-20T12:00:00.0+0000
Workaround
Use Nanoseconds instead:
{{now.withMillis(500000000)}}
2024-10-20T12:00:00.5+0000