#2530: RSS feed date is non-conformant with RFC822
--------------------+-----------------------
Reporter:  voyta    |      Owner:
    Type:  defect   |     Status:  new
Priority:  minor    |  Milestone:  undecided
 Version:  0.8.7p1  |   Keywords:
--------------------+-----------------------
 Date format provided in RSS feed does not conform to RFC822 required by
 RSS 2.0 specification (http://feed2.w3.org/docs/rss2.html).

 Day-of-week and month are reported as numbers instead of abbreviated
 names, example:

 current: {{{<pubDate>2, 16 7 2013 11:55:33 GMT</pubDate>}}}

 correct: {{{<pubDate>Tue, 16 Jul 2013 11:55:33 GMT</pubDate>}}}

 This can cause clients expecting the standard format to display the date
 incorrectly (e.g. Microsoft Outlook 2010).

 This bug has been introduced in
 
https://github.com/buildbot/buildbot/commit/4ce04c06ee328f4491d1f51e18b94ae4dd0e12d7

 The "fixed-english-locale" arrays introduced in the patch are not used,
 and only the index is reported.

 Suggested fix is changing line 69 (in that broken commit)

 {{{res = res % (tstamp.tm_wday, tstamp.tm_mon)}}}

 to

 {{{res = res % (_abbr_day[tstamp.tm_wday], _abbr_mon[tstamp.tm_mon])}}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2530>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to