Shortcuts doesn't seem to parse an ISO 8601 date/time stamp correctly

I’m interacting with an API that is returning date/time stamps in ISO 8601 format. It looks like shortcuts is able to parse the date component, but the time component is always being interpreted as 12:00 PM. Does anyone have a suggestion for handling values in this format? Thanks in advance!

An example value being: 2018-10-27T14:44:05+00:00

Notice the parsed value that shortcuts is returning below:


1 Like

Shortcuts doesn’t seem to like the “T” delimiter in the ISO 8601 string. Per this (and this worked for me in tests just now), substituting a space for the T is a workaround. Hope this helps.


Thanks for your suggestion and link. I can confirm this works reliably. :+1:t3: