Author: miguel
Date: 2005-10-01 14:58:20 -0400 (Sat, 01 Oct 2005)
New Revision: 51082
Modified:
trunk/lb/lb.cs
Log:
Correct
Modified: trunk/lb/lb.cs
===================================================================
--- trunk/lb/lb.cs 2005-10-01 18:43:46 UTC (rev 51081)
+++ trunk/lb/lb.cs 2005-10-01 18:58:20 UTC (rev 51082)
@@ -602,7 +602,8 @@
item.Guid.Name = config.BlogWebDirectory + d.PermaLink;
item.Link = new Uri (item.Guid.Name);
item.Guid.PermaLink = DBBool.True;
- item.PubDate = d.Date + (DateTime.UtcNow -
DateTime.Now);
+
+ item.PubDate = d.Date.ToUniversalTime ();
if (d.Caption == ""){
Console.WriteLine ("No caption for: " +
d.DateCaption);
d.Caption = d.DateCaption;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches