#56 Wrong recognition of date format

closed-invalid
Sam Ruby
RSS (21)
5
2006-03-31
2006-03-31
Anonymous
No

This message:

"This feed does not validate.

*

line 12, column 35: dc:date must be an W3CDTF
date [help]

<dc:date>2006-03-31T01:06:24+0200</dc:date>
^
"

Appears even if the date format is exactly like
2006-03-31T01:06:24+0200

Discussion

  • Logged In: NO

    uo!

    the valid format is
    2006-03-31T01:06:24+02:00
    not
    2006-03-31T01:06:24+0200

    FeedValidator validates
    2006-03-31T01:06:24+02:00
    What is wrong is the error message, not the validator script.

     
  • Sam Ruby
    Sam Ruby
    2006-03-31

    • assigned_to: nobody --> rubys
    • status: open --> closed-invalid
     
  • Sam Ruby
    Sam Ruby
    2006-03-31

    Logged In: YES
    user_id=141556

    From http://www.w3.org/TR/NOTE-datetime:

    TZD = time zone designator (Z or +hh:mm or -hh:mm)

    Note the colon.