ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

RSS Feed Dates Are One Hour Off

August 28, 2008 6:55pm

Subscribe [3]
  • #1 / Aug 28, 2008 6:55pm

    grizzlies

    27 posts

    Split from thread by Moderator

    Hi.

    I just had the exact same problem (even the same time zone as Ludvik,CST) and I tried using this new template. Instead of 5 hours off, it’s only 1 hour behind now. Progress. All other pages are showing correct time, it’s just the RSS feed that’s off.

    You mentioned a way to include a timezone offset?

    Here’s the feed:
    http://www.grizzliesonline.com/index.php?/calendar/calendar_feed

  • #2 / Aug 28, 2008 9:50pm

    Sue Crocker

    26054 posts

    I’m not seeing a date field or even an entry when I click on the link in the RSS feed..

  • #3 / Aug 29, 2008 11:58am

    grizzlies

    27 posts

    Oops, thanks.  I fixed it.

    But actually, I didn’t mean on the post.  I meant in the feed itself.  The date says 6PM when it should be (and the post has it correct) 7PM.

    Make sense?

  • #4 / Aug 29, 2008 12:04pm

    Sue Crocker

    26054 posts

    But I can’t compare the two without seeing it on the site. 😊 I’ll go look again.

  • #5 / Aug 29, 2008 4:37pm

    Ingmar

    29245 posts

    Aren’t feed times supposed to be in UTC? (The idea being that the client can then adjust the date to allow for local offsets.) Are you using {gmt_date} in your template?

    Looking at your page, we have:

    Sat, 27 Dec 2008 00:00:00 GMT</pubDate>

    Ah, GMT 😊 If that’s not what you want, change your template tag to use entry_date or something like that.

  • #6 / Sep 03, 2008 11:42am

    grizzlies

    27 posts

    Eureka!  So I decided to step away from the problem for the weekend and instead focused on entering all the dates for the year—including some earlier events that I had skipped over. 

    Checking the rss feed again, I found that the earlier dates were showing the correct time while the later dates were still showing an hour earlier… the answer: DST!

    The RSS template is showing what the time *would* be if we didn’t change clocks for daylight savings. It’s not taking the clock change into account.

  • #7 / Sep 03, 2008 5:58pm

    Ingmar

    29245 posts

    So, does that mean the issue’s been resolved?

  • #8 / Sep 03, 2008 7:08pm

    grizzlies

    27 posts

    Well, is there a way to get the rss tag to recognize that DST is ending after October (or whenever it does), so it shows the correct time?

  • #9 / Sep 03, 2008 10:53pm

    Greg Aker

    6022 posts

    Grizzlies:

    Because DST is not observed everywhere, this is something you will need to change in your localization settings and control panel settings.

    Kind Regards,

    -greg

  • #10 / Sep 09, 2008 7:23pm

    grizzlies

    27 posts

    Hm, you lost me.  Localization is set to Central Time US. Shouldn’t the entry in the rss feed reflect that the future date of the event will not be during DST?  I know that DST isn’t observed everywhere.

    How about “Honor the Daylight Saving Time setting associated with each weblog entry?” (set to Yes right now)

  • #11 / Sep 09, 2008 10:49pm

    Greg Aker

    6022 posts

    Grizzlies:

    Can you check out this KB Entry and let us know if that helps at all? 

    Thanks,

    -greg

  • #12 / Sep 10, 2008 4:54pm

    grizzlies

    27 posts

    Yes, that helps explain it.  Thanks.  The wiki entry is useful too.

  • #13 / Sep 10, 2008 5:02pm

    Ingmar

    29245 posts

    Glad to see Greg squared you away there. If anything else comes up, please simply start a new thread, thanks.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases