WordPress.org

Ready to get started?Download WordPress

Forums

WP1.2 using server's local timezone? (2 posts)

  1. MelissaTN
    Member
    Posted 9 years ago #

    The WP Options timezone is set correctly. The GMT time zone is set correctly. I'm on the west coast (california). the offset to GMT is set correctly (-8). All of the time stamps are appearing correctly on my site for months. However, it seems like WP still uses a few things based on the server's local clock (east coast, 3 hours ahead, -5 from GMT).

    When I select to show only 3 days of entries, the last day expires exactly 9 o clock. Also I use Jennifer's plugin: http://www.scriptygoddess.com/archives/2004/06/20/today-in-weeksmonthsyears-past/#more-1279
    This plugin lets me show a post from exactly one year ago, one month ago, or one week ago. The link to that post expires exactly 9pm as well, which is again based on the server's local clock (east coast). Is there a way to fix this?

  2. chedong
    Member
    Posted 9 years ago #

    RSS time zone issue: GMT time + GMT time zone or local time + local time zone

    I subscribe some feed published by wordpress: I found the timezone problem. the post always shown published tomorrow.

    current wordpress default pubDate field is localtime + GMT timezone:
    <pubDate>Wed, 25 May 2005 09:32:44 +0000</pubDate>
    but feed publish in China: it should be
    <pubDate>Wed, 25 May 2005 09:32:44 +0800</pubDate>
    or convert time to GMT and +0000
    <pubDate>Wed, 25 May 2005 01:32:44 +0000</pubDate>

    Thanks

    Che Dong
    http://www.chedong.com

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.