Forums

discrepancy between post and rss timezones (7 posts)

  1. bricksmith
    Member
    Posted 1 year ago #

    My post is showing a published date/time of Mar 21, 2011 @ 2:05.

    My feed is showing a published date/time of Monday, March 21, 2011, 3:05:46 AM. When I check the feed-rss2.php in the includes folder, it shows no offset in either the channel or item (+0000).

    My Feedburner feed is showing a published date/time of Mon, 21 Mar 2011 07:05:46 +0000.

    In general > settings, my timezone is set to Louisville. We're on EDT, so the offset is -0400.

    How do I get the feed to match the post date?

  2. bricksmith
    Member
    Posted 1 year ago #

    I just contacted my host (Bluehost) and found out that their servers are set to -0700.

    The said I could add the php.ini file and add:
    date.timezone = "Etc/UTC";

    Does this sound like it might be part of the problem?

    Will adding and editing the php.ini file cause problems with my WP blogs? I have several hosted on this account.

  3. sales@4bco.com
    Member
    Posted 1 year ago #

    I don't think it will cause a problem....My host is in another time zone & I have to use timezone function from time to time.

  4. bricksmith
    Member
    Posted 1 year ago #

    I added the php.ini file with edits to the public_html directory, and no change.

    I added the php.ini file with edits to the blog's subdirectory, and no change.

  5. bricksmith
    Member
    Posted 1 year ago #

    OK! Looks like the original feed and the Feedburner feed are now both showing the same date/time: 3/21/2011 at 3:05 a.m.

    Post is still showing as 2:05 a.m.

    Any ideas?

  6. bh_WP_fan
    Member
    Posted 1 year ago #

    Make sure Daylight Savings time aren't what you're missing. Adjust your timezone accordingly in the general WordPress Settings.

    Also, for your php.ini, check your .htaccess and, if you see in it the following line:

    AddHandler application/x-httpd-php5 .php

    Change it to:

    AddHandler application/x-httpd-php5s .php

  7. bricksmith
    Member
    Posted 1 year ago #

    The discrepancy is too great to be attributed to daylight savings, but I did check that. Thanks for mentioning.

    I added the line you suggested to the .htaccess file in the blog's main directory. No change.

    Thanks for your suggestions, though! I appreciate your effort.

Topic Closed

This topic has been closed to new replies.

About this Topic