in reply to Re: Converting timestamp to RSS pubDate
in thread Converting timestamp to RSS pubDate

Thanks. This sort of worked but here what's weird. In the HTML code this was printed:

<pubDate>Mon, 03 Nov 2008 21:37:50 EST</pubDate>

If I look at the RSS Feed in Firefox or IE it reads this:

Monday, November 03, 2008 4:37 PM

I have no idea why. Any ideas? The 4:37 should read 9:37 shouldn't it? Also, the server is EST and it's only 8:37 there now so somewhere I'm gaining an hour.

  • Comment on Re^2: Converting timestamp to RSS pubDate

Replies are listed 'Best First'.
Re^3: Converting timestamp to RSS pubDate
by almut (Canon) on Nov 04, 2008 at 02:09 UTC

    Why don't you just fiddle with the <pubDate>Mon, 03 Nov 2008 21:37:50 EST</pubDate> value until Firefox/IE is showing the correct date?  Try time zones other than EST (maybe it's expecting GMT, as would've been output by HTTP::Date), increment/decrement the hour, etc.  Shouldn't be too hard to eventually figure out how Firefox is interpreting the pubDate value...