#1 2018-10-03 04:02:35

mariomoretti
Member
From: italy
Registered: 2012-01-29
Posts: 88

Iso8601ToTimeLogPUTF8Char doesn't handle ISO8601 times

Hi AB,

if I try to convert an ISO8601 time expression (10:30:47.0Z), the function fails because doesn't start with an year (4 digits) but the standard allows this format.

Offline

#2 2018-10-03 09:53:40

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,182
Website

Re: Iso8601ToTimeLogPUTF8Char doesn't handle ISO8601 times

As documented, the Z is not supported.
We assume all dates are in UTC.

Offline

#3 2018-10-03 13:49:36

mariomoretti
Member
From: italy
Registered: 2012-01-29
Posts: 88

Re: Iso8601ToTimeLogPUTF8Char doesn't handle ISO8601 times

Sorry but , if I'm not wrong,  Z indicates that the time value is the time in Greenwich, England, or UTC time.

What I was trying to say is that the function doesn't work with simple ISO 8601 time (without date).
Is there another way to handle this ?
Tx very much.

Offline

#4 2018-10-07 05:21:52

mariomoretti
Member
From: italy
Registered: 2012-01-29
Posts: 88

Re: Iso8601ToTimeLogPUTF8Char doesn't handle ISO8601 times

Ok,
for other distracted as me : I have to use Iso8601ToTimePUTF8Char !!!
by

Offline

Board footer

Powered by FluxBB