• Gabriel

    (@moosedesignmalta)


    Hi there,

    is there a way I could set the time zone?

    Both my Google Calendar and WordPress are set up with the correct time zone, but the calendar is set to UTC. I need it set to UTC+2.

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Rupinder Kaur

    (@coolcoders)

    Hi @moosedesignmalta ,
    Thanks for writing to us.
    Well the time zone we are listing is coming from calendar api . But In case you want to reset this you can visit plugin file at plugins\events-calendar-for-google\includes\templates\attributes\time.php on line no 33 where we have set the timezone .
    And replace it with
    date_default_timezone_set('UTC+2');

    Hope this helps. We will Try to add this as a custom option So in future users can select their preferred calendar time zone.
    Do let me know if you have any question.
    Thanks

    Thread Starter Gabriel

    (@moosedesignmalta)

    Thanks for your reply, but this didn’t work.

    I’ve updated the PHP file using Plugin Editor in WordPress. I copied and pasted the code from this page.

    Thanks,

    Gabriel

    Thread Starter Gabriel

    (@moosedesignmalta)

    Hello again.

    Just to be clear, both the Google Calendar where I’m loading these events and WordPress itself are set as UTC+2.

    Thanks,

    Gabriel

    Thread Starter Gabriel

    (@moosedesignmalta)

    Hi, @coolcoders

    Do you think you can take another look, please?

    Thanks in advance.

    Gabriel

    Thread Starter Gabriel

    (@moosedesignmalta)

    Hi @coolcoders

    I can’t even find that file after the latest update.

    Any help would be appreciated.

    Thanks,

    Gabriel

    Did you ever find a solution to this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to set the time-zone?’ is closed to new replies.