Opened 8 years ago
Closed 8 years ago
#39434 closed defect (bug) (duplicate)
German Blog creates invalid RSS feed
Reported by: | 1manfactory | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.8 |
Component: | Feeds | Keywords: | |
Focuses: | Cc: |
Description
Just tested it with a brand new WordPress local installation without any other plugins or themes to make sure that this problems is (so a presume) a core problem.
When validating my RSS feed with https://validator.w3.org/feed/ it gives the following only error:
line 15, column 46: lastBuildDate must be an RFC-822 date-time: Mi, 16 Sep 2015 16:31:18 +0000
this is the line mentioned:
<lastBuildDate>Mi, 16 Sep 2015 16:31:18 +0000</lastBuildDate>
Help says: Common errors include localizing the month name or the days of the week, not using the exact abbreviation provided by the specification, or attempting to use a time zone name that is not listed.
So I switched from a German to English settings which gives me the following RSS date:
<lastBuildDate>Wed, 16 Sep 2015 16:31:18 +0000</lastBuildDate>
This line now validates without any problems.
I think this should be fixed as many people (so do I) rely on a valid RSS feed. Better save than sorry. It should not be a big issues as all other dates used inside RSS are valid – even in a German RSS feed.
Hey @1manfactory and welcome back to Trac :)
We're aware of the RSS feed dates being localised, and it's been fixed in the upcoming 4.7.1 release as per #39141