apache / incubator-kie-issues

Apache License 2.0
12 stars 1 forks source link

It's not possibile to sum or subtract a time in `10:30:00@Europe/Rome` format #1323

Closed yesamer closed 3 months ago

yesamer commented 3 months ago

Requires #69

In a sum / substract operation, if one of the addends has this format 10:30:00@Europe/Rome an Error is thrown.

Examples: @"PT1H" + @"10:15:00@Australia/Melbourne" @"-P1D" + @"10:15:00@Australia/Melbourne" @"P1D" + @"10:15:00@Australia/Melbourne"

The error's root cause is that Time format is converted to a java.time.format.Parsed Java Object.

Screenshot 2024-06-17 at 09 27 11
jomarko commented 3 months ago

@yesamer hi, just double-checking, am I correct this has no impact for the tooling UI?

yesamer commented 3 months ago

I confirm there's no impact on tooling @jomarko

yesamer commented 3 months ago

Fixed with #69