Dear users, creation of new accounts is temporarily disabled. Please check again later. We apologise for any inconvenience caused.

Incorrect iso 8601 date check in admssw validator ?

Published on: 31/01/2013

I've produced a Turtle document using the shell's "date --iso-8601=seconds -u" for the modification date of the document :

    a foaf:Document ;
    foaf:primaryTopic <; ;
    dcterms:modified "2013-01-31T12:36:00+0000"^^<; .

It seems the validator complains :

<; identifies an element the for which the date-related property is not correct. '2013-01-31T12:36:00+0000' is not a valid ISO 8601 (date/time). Please correct this and load the data again.

Maybe the date program is wrong... or the validator... What's your opinion ?






Sat, 02/02/2013 - 15:57

It seems I was wrong, and the options aren't the best choices.

With LC_ALL=C date -u "+%FT%T%:z" it seems much better :-)

Closing then.