Bugs from pubDate in rss2

Found a bug? Tell us!!
Post Reply
deminy
Regular
Posts: 28
Joined: Mon Oct 10, 2005 6:17 am
Contact:

Bugs from pubDate in rss2

Post by deminy »

1. The timezone on the server is GMT-0400 (Eastern Time, Canada)

2. Set the global variable serverOffsetHours in s9y to be 12. Which means that I want to time on the webpages is Beijing time.

3. in file /feeds/index.rss2, see the following line:

<pubDate>Fri, 16 Sep 2005 21:22:57 -0400</pubDate>

The time is Beijing time, but the timezone is still Eastern Time, Canada.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Bugs from pubDate in rss2

Post by garvinhicking »

I must admit I'm not a guru at timezones, but the RSS pubDate field needs to be in GMT format. So you mean, the time offset shouldn't/needn't be applied to the RSS pubdate element?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply