Default date format is not matching the expected format of deluge date-time functions

Default date format is not matching the expected format of deluge date-time functions

When retrieving a date time value of a record (E.g. "Created_Time") we receive something like "2021-12-13T13:05:33+01:00".
When applying the getHour() function to this value, it will return 0 instead of 13.

If I replace the T with a space, the function will work as expected.

The same issue applies for minutes and seconds.

 

I attached a small example function to demonstrate it.


As a workaround we can run .replaceFirst("T", " ") on the date time before calling getHour()

Please update the deluge date time functions to also work with your default date time format.