Support » Plugins » [Plugin: Events Calendar] How do I make it recognise my time zone?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi there, have you checked your timezone settings on the general settings page under timezone?
    hope it gets resolved.
    mike.

    Thread Starter ggj

    (@ggj)

    Hi, yup have checked that and my wordpress installation general settings is UTC+12 but somehow the events calendar plugin doesn’t seem to pick it up. I am using it in the sidebar whether that makes any difference?

    I am having the same issue, and haven’t gotten an answer from here or from the Author’s site. I’d really like to get this fixed. I love everything about the calendar, except the fact that the day switches at the wrong time because of the time zone being wrong. I have deactivated/reactivated, and even uninstalled/re-installed…no luck.

    Okay, I think it’s in the MySQL tables setup. Collation is set to latin1_swedish_ci and even though my server is set to the correct time zone, and my wordpress account, PLUS I’ve added the “timezone plugin” to the mix, my calendar is STILL changing days 7 hours too early! PLEASE PLEASE help us with this issue?

    Went into php.ini file and changed the time zone myself. Seems to be working now. 🙂

    Hey Nolacoop,
    How did you solve the mystery of fixing it with php.ini? What folder do you place it in, and what do you have to put inside the php.ini? If you could give instructions, you would be my hero.

    Thanks!

    webmasterstpeterslagrangenet

    (@webmasterstpeterslagrangenet)

    ditto,
    I have been searching for the same answers and still none. I have looked at the code on the and like you design_guru I have done everything including emailing the creator and I am still left with the same questions. Surely someone knows the code that will change the time zone. In my case it’s ics calendar plugin sidebar widget is showing MST and I need EST. 4 hours difference. I need to know where I can change the code to correct this issue and what code I should use. Please help, I really like this widget.

    Thank you.

    webmasterstpeterslagrangenet

    (@webmasterstpeterslagrangenet)

    correction about a three hour difference. But that’s a mute point.

    I have found a solution for those who don’t want to or can’t play around in php.ini.

    It is not the most elegant solution but it worked for me. My situation is a WP site with timezone +1030 set correctly in settings general, but this plugin uses the web server timezone which is very different

    in the ec_widget.class.php and ec_js.class.php scripts, just after <?php

    insert this line of code

    date_default_timezone_set('xxx/yyy');

    use the exact values for xxx/yyy which relate to your timezone from this list http://us2.php.net/manual/en/timezones.php

    you *may* need to check this for changes due to daylight savings

    that fixes timezone for the large calendar display and the widget display which is as far as i looked, you may need to pop this code into other places also

    as always before playing with code make a copy & keep it in a safe place, just in case the wheels fall off!

    Good luck!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Events Calendar] How do I make it recognise my time zone?’ is closed to new replies.