Bug 130051

Summary: the date not in RFC-822 format displays wrongly
Product: [Applications] akregator Reporter: Anton <anton.bugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: 1.2.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Anton 2006-06-30 01:18:16 UTC
Version:           1.2.2 (using KDE KDE 3.5.2)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9) 
OS:                Linux

The follow url 
http://xml.weather.yahoo.com/forecastrss?p=SNXX0006&u=c
with yahoo forecast is not using RFC-822 format for dates.
RSS validator gives the follow errors:
http://rss.scripting.com/?url=http%3A%2F%2Fxml.weather.yahoo.com%2Fforecastrss%3Fp%3DSNXX0006%26u%3Dc
1.   lastBuildDate must be an RFC-822 date   8  44
2.   pubDate must be an RFC-822 date   27  38

Аlthough it's not clearly bug of Akregotor you still might want to fix this,
because the rest of rss readers might still parse it properly.

The akregotor output:
Conditions for Singapore, SN at 6:30 am SGT   - 2006-06-29 14:30

This will result morning's new messages will appear in the middle between old ones.
Comment 1 Frank Osterfeld 2006-06-30 08:44:17 UTC
The "am" is wrong there.. rfc822 uses 24h format. This is a single feed, and I refuse to support all the errors some feed out there does. Go tell yahoo to fix it. If there was a noteworthy number of feeds out there doing this mistake, one could think about making an exception for the sake of user experience, but not for a single feed (or a group of feeds respectively).