String to Duration Node skips hours

Hi there,

I try to play around with some time and duration calculations.

But I have the problem that the String to Duration node seems to ignore the hours, otherwise runs well.

See this screenshot:
image

I create the “Break” column through input widget and a String Manipulation node. But the result is just the minutes, whereas I would expect to have hours and minutes as a duration.

Thank you for your kind help.

The string “PT-01H30M” is parsed as “-1 hour and +30 minutes” which results in “-30 minutes”.

3 Likes

Good catch @elsamuel !!!

sweet, that did the job. :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.