WordPress.org

Ready to get started?Download WordPress

Forums

Timezone refuses to update no matter what I do (2 posts)

  1. nutsandboltsmedia
    Member
    Posted 1 year ago #

    Okay guys, this is driving me insane.

    I have a WP install that will NOT interpret time zone correctly. Despite being set to Central time (UTC-6), it publishes posts on UTC. For example, a post scheduled for 4:30am publishes at 10:30pm the night before. I have tried absolutely everything I can think of, including a fresh install and importing the posts.

    Here are the things I've tried:

    • Fresh WP install (and of course it's set to the right timezone in Settings - General)
    • Disabling all plugins
    • Using Twenty Eleven
    • Manually setting the timezone in functions.php
    • Manually setting the timezone in wp-settings.php
    • Toggling timezone and permalinks
    • Deleting .htaccess
    • Server is set for CST and no other site on the server has this problem
    • Server's php.ini is set to the right timezone

    I really don't know what else to try and it's driving me crazy. I downloaded the Core Control plugin and I noticed that the wp-cron hook publish_future_post is missing the function check_and_publish_future_post(). It's just blank. So I'm not sure why that's happening or how to fix it; replacing wp-cron with a fresh one didn't fix the problem.

    So it's not theme specific, it's not plugin specific, and it's not server specific. I don't know what else to do! Is there anything else I can try to get this working?

  2. Ravi
    Member
    Posted 1 year ago #

    Did you set the timezone at wp-admin/options-general.php ?

    If nothing helps, I would add the time difference while scheduling the posts.

    //a post scheduled for 4:30am publishes at 10:30pm the night before//

    That is, I will schedule it at 10.30 am instead. Of course, this is a hack until you figure out.

Topic Closed

This topic has been closed to new replies.

About this Topic