Permalink
Browse files

2009-05-07 Gonzalo Paniagua Javier <gonzalo@novell.com>

	* worker/monologue-worker.cs: turn the dates into UTC.


svn path=/trunk/monologue/; revision=133707
  • Loading branch information...
1 parent ca79903 commit 41a1a3a92482f07ad72ec9474e574ca59291576c @gonzalop gonzalop committed May 7, 2009
Showing with 6 additions and 1 deletion.
  1. +4 −0 ChangeLog
  2. +2 −1 worker/monologue-worker.cs
View
@@ -1,3 +1,7 @@
+2009-05-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+ * worker/monologue-worker.cs: turn the dates into UTC.
+
2009-04-01 Jonathan Chambers <joncham@gmail.com>
* worker/bloggers.xml: Filter out my personal feed.
@@ -170,6 +170,7 @@ static void RunOnce ()
b.DateError = true;
} else if (i.PubDate >= minPubDate) {
i.Title = b.Name + ": " + i.Title;
+ i.PubDate = i.PubDate.ToUniversalTime ();
stories.Add (i);
}
}
@@ -272,7 +273,7 @@ static void Render ()
itm.Title = itm.Title.Substring (itm.Title.IndexOf (":")+2);
tpl.setField ("ENTRY_TITLE", itm.Title);
tpl.setField ("ENTRY_HTML", itm.Description);
- tpl.setField ("ENTRY_DATE", itm.PubDate.ToString ("h:mm tt"));
+ tpl.setField ("ENTRY_DATE", itm.PubDate.ToString ("h:mm tt 'GMT'"));
tpl.appendSection ();
}

0 comments on commit 41a1a3a

Please sign in to comment.