No errors should be displayed to the website visitor - module should be rendered normally or not rendered at all.
Fatal error: DateTime::__construct(): Failed to parse time string (Tor, 03 Mar 2016 10:46:33) at position 0 (T): The timezone could not be found in the database
The problem here is that given feed is incorrect - the dates are inconsistent and some of them are in danish (day of week, e.g. Tor instead of Thu). According to RSS 2.0 at Harvard Law Specification, "All date-times in RSS conform to the Date and Time Specification of RFC 822, with the exception that the year may be expressed with two characters or four characters (four preferred).".
The parser should be prepared for a case when a RSS feed doesn't meet a specification.
Closed as we have a PR for testing #9293
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-03-03 19:28:46 |
Closed_By | ⇒ | brianteeman |
Labels |
Added:
?
|
#9293 fixed for an incorrect date format, but it has to be tested if other non-standard RSS fields are not causing any problems.