#59 FeedValidator and PHP definition of RFC-822 date-time format

closed-invalid
nobody
RSS (21)
5
2006-08-16
2006-07-14
thing2b
No

When I try to validate my RSS 2 feed on
http://feedvalidator.org, I
receive an error saying that "This feed does not validate."

It goes on to say that "pubDate must be an RFC-822
date-time" and that
"Fri, 14 Jul 2006 09:19:03 NZST" is not a valid RFC-822
date-time. It
points out the line:

<pubDate>Fri, 14 Jul 2006 09:19:03 NZST</pubDate>

The issue is that when I change the NZST to EST it all
works
correctly. Both me and PHP think that NZST is valid.
For those who
understand PHP5.1.x, I am using the following line of
code to generate
the date:

<pubDate><?=date(DATE_RFC822)?></pubDate>

DATE_RFC822 is specified in the PHP manual (I did not
specify it):
http://www.php.net/manual/en/ref.datetime.php

Could FeedValidator and PHP please agree to the same
RFC-822 standard?

Thanks.

Discussion

  • Joseph Walton
    Joseph Walton
    2006-08-16

    • status: open --> closed-invalid