WordPress.org

Ready to get started?Download WordPress

Forums

Events Calendar
Wrong current date (7 posts)

  1. Vix332
    Member
    Posted 1 year ago #

    Hi,
    The events calendar is displaying to wrong current date? I have checked the date and time in WP and it is now correct but the calendar is still displaying the day before (I am utc +10)
    Thanks
    Vix

    http://wordpress.org/extend/plugins/events-calendar/

  2. babyoth
    Member
    Posted 1 year ago #

    Hello

    I'm having the same issue but in UTC +12 (NZ)

    Anyone know how to fix this issue?

  3. Vix332
    Member
    Posted 1 year ago #

    Hi,
    This worked for me
    http://wordpress.org/support/topic/plugin-events-calendar-recognise-my-time-zone
    right down the bottom and for me in Sydney this is what it looks like
    date_default_timezone_set('Australia/Sydney');
    Hope thast helps
    Vix

  4. babyoth
    Member
    Posted 1 year ago #

    ok thanks where did u put your line i tried right at the top after <?php and before first comment and it didn't work

  5. Vix332
    Member
    Posted 1 year ago #

    Make sure you are using the right file
    events-calendar/ec_calendar.class.php
    This is what mine looks like

    <?php
    date_default_timezone_set('Australia/Sydney');
    /**
    * This file contains WP Events Calendar plugin.
    *
    * This is the main WPEC file.
    * @internal Complete the description.
    *
    * @package WP-Events-Calendar
    * @since 1.0
    *
    * @autbor Luke Howell <luke@wp-eventscalendar.com>
    *
    * @copyright Copyright (c) 2007-2009 Luke Howell
    *
    * @license GPLv3 {@link http://www.gnu.org/licenses/gpl}
    * @filesource
    */
    /*

    Vix

  6. babyoth
    Member
    Posted 1 year ago #

    oh ok i have it in the right place and it's New Zealand/Auckland sorted thanks

  7. Vix332
    Member
    Posted 1 year ago #

    I Think you will find it is Pacific/Auckland
    http://ch2.php.net/manual/en/timezones.pacific.php
    Vix

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic