WordPress.org

Ready to get started?Download WordPress

Forums

Cron View
Timezone problem (1 post)

  1. dalgaard
    Member
    Posted 2 years ago #

    Hi

    I'm a happy user of your plugin. However, I noticed that because I don't live in GMT, the plugin shows the wrong timestamps for me.

    If you ever consider updating the plugin, here's the change:

    $cron[ $timestamp ][ $hook ][ $key ][ 'date' ] = date_i18n( $date_format, $timestamp + 3600*get_option('gmt_offset'));

    I added " + 3600*get_option('gmt_offset')"

    What it does is add "one hour in seconds" times the gmt_offset, to the timestamp.

    Again thanks for the plugin.
    Regards, Martin

    http://wordpress.org/extend/plugins/cron-view/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.