Skip to content

Scheduled posts are publishing in GMT instead of blog-specific timezone #143

@theSCHAPPY

Description

@theSCHAPPY

Feature Request

Describe your use case and the problem you are facing

Consider a Wordpress instance using a blog-specific timezone setting (different from a timezone setting in php.ini). If you schedule a post for publishing the blog's specific timezone setting is used for publishing. However, runinng wp cron regularly triggered by a system cronjob, apparently considers publishing times as GMT.

Describe the solution you'd like

Would be great if blog-specific timezone settings could be incorporated for publishing posts. If a manual timezone setting is specified in php.ini, the correct publishing time is derived apparently. The timezone setting in wp-admin/options-general.php read the following from wp_options to derive the blog-specific timezone setting string $tzstring:

  • get_option( 'gmt_offset' )
  • get_option( 'timezone_string' )

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions