Fixed wrong date/time for message entries.

This commit is contained in:
Dario Solera 2010-04-05 12:57:49 +00:00
parent 84f7a22082
commit 09db5c4de6
2 changed files with 3 additions and 3 deletions

View file

@ -186,7 +186,7 @@ namespace ScrewTurn.Wiki {
// Write the remaining elements
BuildAuthorTag(rss, messages[i].Username);
rss.WriteElementString("pubDate", content.LastModified.ToUniversalTime().ToString("R"));
rss.WriteElementString("pubDate", messages[i].DateTime.ToUniversalTime().ToString("R"));
rss.WriteStartElement("guid");
rss.WriteAttributeString("isPermaLink", "false");
rss.WriteString(GetGuid(page.FullName + "-" + messages[i].ID.ToString(), messages[i].DateTime));