Regression of issue #20

22 views
Skip to first unread message

beagl...@gmail.com

unread,
Nov 14, 2013, 5:25:47 PM11/14/13
to ccnet...@googlegroups.com
Hi all,
The RSS publisher uses the wrong pubDate. (see bug #20) This was fixed on 28 Sept 2011 (SVN r3229).
On 19 Nov 2011, SVN r5868 undid the fix.
 

 

The pubDate is set to the servers local time, but the "r" format indicates GMT.
Convert to GMT.

Change Line 190:

integrationElement.AppendChild(CreateTextElement(
integrationElement.OwnerDocument, "pubDate", System.DateTime.Now.ToString("r", CultureInfo.CurrentCulture)));

To:
integrationElement.AppendChild(CreateTextElement(
integrationElement.OwnerDocument, "pubDate", System.DateTime.Now.ToUniversalTime().ToString("r", CultureInfo.CurrentCulture)));


TIA,
Joe
Reply all
Reply to author
Forward
0 new messages