I have a RSS with:
<pubDate>Fri, 20 Apr 2012 08:00:00 GMT</pubDate>
And validator said it is not proper because:
http://validator.w3.org/feed/docs/warning/ImplausibleDate.html
“While this date-time value is formatted correctly, it either appears to be in the future, or far enough in the past to indicate that there might either be a software error, or an incorrectly set clock, involved.
While the RSS 2.0 spec anticipated that some aggregators may chose to ignore items with pubDates in the future, this practice never seemed to catch on.
Instead, many clients sort by dates, either by default, or as an option. For this reason, it is important that date values are as accurate as possible.
One common error, particularly among the British and Western Europe during the summer time (i.e., during the periods of BST and WEST), is for the numeric part of the time to reflect local time and for the zone part of the time to hard code GMT.
“
I generate the date with:
<pubDate>$data2 GMT</pubDate>
where $data2 is taken from database as folows:
DATE_FORMAT(DATE,'%a, %d %b %Y %T')
And the DATE was received by mysql function NOW().
It’s weird because here we have 9:24 o’clock but we had in Poland change of time lately. So how can i fix it?
Add your timezone instead of GMT:
That should do it. Note that your timezone might change over the year, so you might want to dynamically generate it: