Incorrect iso 8601 date check in admssw validator ?

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 :

<http://packages.qa.debian.org/p/php-arc.ttl&gt;
    a foaf:Document ;
    foaf:primaryTopic <http://packages.qa.debian.org/php-arc#project&gt; ;
    dcterms:modified "2013-01-31T12:36:00+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime&gt; .
 

It seems the validator complains :

<http://packages.qa.debian.org/p/php-arc.ttl&gt; 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 ?
     

Component

Code

Category

bug

Comments

Sat, 02/02/2013 - 14: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.

The content of this field is kept private and will not be shown publicly.