[Updated with working solution] I have an RSS feed which gets displayed correctly in RSS clients, but when being validated by http://feedvalidator.org I get this error:
pubDate must be an RFC-822 date-time
My date is formatted as follows:
Wed, 27 Feb 2013 17:18:15 CET
Any idea what could be wrong? Could it be the timezone?
SOLUTION
Thanks to Calum I got a valid RSS feed now. Reason was the CET
not being supported in the pubDate
.
The following Java Code is working now fine:
String pubDate = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z").format(new Date());