Pubdate in a different timezone then the local time zone.

Topics: Argotic.Core
Aug 6, 2008 at 8:41 AM
Hi
Great framework, but it has some bugs.
One of my latest bugs with your framework is the problem of timezones.
We are in timezone GMT +0200.
If the feed has the pubdate in GMT +0200  there are now problems and the time is correct.
If the feed has the pubdate in GMT the time we get from argotic(item.PublicationDate) is 2 hours in the past.
If the feed has the pubdate in CEST we get the error datetime.
Now you would say that 2 hours different is not verry big, but because of the verry large amount of news items retrieved by rssfeeds (5 feeds/minute and about 200 items/min)
the items where the pubdate was in GMT wouldn't be displayed in our newsgrid (because the are to old).
And so we miss some verry important news items.

In the documetnation: AtomEntry.PublishedOn Property
   The DateTime should be provided in Coordinated Universal Time (UTC).


When testing:

GMT
1345    http://www.nieuwsblad.be/rss.aspx?section=nieuws&subsection=binnenland
      <pubDate>Wed, 06 Aug 2008 07:38:17 GMT</pubDate>   =>  #8/6/2008 7:38:17 AM#  =>  must be #8/6/2008 9:38:17 AM#

+0200
1285    http://www.arena51.be/nl/rss/nl/news.xml
      <pubdate>Tue, 05 Aug 2008 22:47:13 +0200</pubdate>  =>  #12:00:00 AM# => error datetime
2246    http://www.zita.be/xml/lifestyle.xml  
      <pubDate>Wed, 06 Aug 2008 00:02:49 +0200</pubDate>  =>  #8/6/2008 12:02:49 AM#  => correct

CEST
2007    http://www.knack.be/feeds/72-nieuws-sport-article-rss2.0.xml
          <pubDate>Wed, 06 Aug 2008 08:00:00 CEST</pubDate>  => #12:00:00 AM# => error datetime


I have the latest framework version (2008.0.2.0)

Greetings Jan

Coordinator
Aug 6, 2008 at 2:32 PM
Thank you for the detailed information and sample feeds, I will be looking into this very soon and will try to get a fix out, as this is a major bug. Thank you for bringing it to my attention.
Coordinator
Aug 7, 2008 at 1:29 AM
Created work item #10940 to track and address this issue. My professional life is consuming most of my free time, so I am not sure exactly when I will fix this issue.