Support » Plugin: Cron View » [Plugin: Cron View] Timezone problem

  • 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

  • The topic ‘[Plugin: Cron View] Timezone problem’ is closed to new replies.