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

@ -16,5 +16,5 @@ using System.Reflection;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("3.0.2.529")]
[assembly: AssemblyFileVersion("3.0.2.529")]
[assembly: AssemblyVersion("3.0.2.530")]
[assembly: AssemblyFileVersion("3.0.2.530")]

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));