RSS Ticker shows date as 1/1/0001

Asked by Sammy Brence

On most RSS Feeds it shows 1/1/0001 12:00:00AM for date time.

It does this from most websites. CNN / ESPN But I have a weather RSS feed from a local news station here that works fine with the correct date and time. Is there anything I can do? I cant change their feeds.

Any Ideas? Also what all tags Besides [DATE] - [DESCRIPTION] and [TITLE] just curious if there are more RSS Options.

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

Hi Sammy

What feed URLS work and which don't?
What version of server and client do you use?
What OS are you running on?

Those three tags (although not capitalised as you have them) are the only three that are broadly supported by all the client versions.

Alex

Revision history for this message
Sammy Brence (sammyboy405) said :
#2

Anything from cnn or Espn dont here is one example link
http://rss.cnn.com/rss/cnn_topstories.rss

here is the one from our local news station that does work
http://ftpcontent.worldnow.com/kwtv/warnteamforecast.rss

using the 1.2.0 R2 Server/Client

and these are running on Windows XP / with all SP's and Patches.

Revision history for this message
Alex Harrington (alexharrington) said :
#3

It seems to be if the date/time field is in a non-GMT timezone.

Alex

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Sammy Brence (sammyboy405) said :
#4

Im not Following?

Are you saying that CNN and other Major News Sites RSS feeds are wrong? Or what is the issue here?

Why should a time zone matter? Or does Xibo not account for that.

Revision history for this message
Alex Harrington (alexharrington) said :
#5

It's simply an observation - the feed you gave lists the timezone as EDT, where as all the feeds I have that work are listed in GMT - even ones that aren't UK specific.

So I'm not saying that CNN are wrong - I'm just saying that their feed has the time expressed in EDT and others don't.

The timezone matters because there will be some code in the client that parses that string and extracts a date/time from it for display - and evidently it's not coping when the timezone isn't GMT for some reason.

Alex

Revision history for this message
Sammy Brence (sammyboy405) said :
#6

Ok Im not understand then I Guess? Is it something that needs to be fixed in Xibo or something on the RSS Feed side? Also I tried changing the time zone on the PC to match the timezone of the feed just to see, and its the same results.

Is there a workaround I can do for this?

Revision history for this message
Alex Harrington (alexharrington) said :
#7

I've opened a bug and we'll look at it.

Alex

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Sammy Brence (sammyboy405) said :
#8

Also I can confirm this is only on the .Net version. The python client
handles it fine.
On Sep 26, 2010 9:33 AM, "Dan Garner" <email address hidden>
wrote:
> Bug #645307 status changed in Xibo:
>
> New => Confirmed
>
>
> https://bugs.launchpad.net/xibo/+bug/645307
> ".net Client shows non-GMT dates as 01/01/0001"
>
> This bug is linked to #126420.
> RSS Ticker shows date as 1/1/0001
> https://answers.launchpad.net/xibo/+question/126420
>
> --
> You received this question notification because you are a direct
> subscriber of the question.

Revision history for this message
Dan Garner (dangarner) said :
#9

Thanks Sammy,

C# doesnt support the timezone extensions when it tries to parse a
date/time. Basically because they are non-unique - so for now I have just
stripped them out and will display the feed date/time rather than the local
date/time.

Can you help with this problem?

Provide an answer of your own, or ask Sammy Brence for more information if necessary.

To post a message you must log in.