Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

How to set timezone on event calendar? To Australian Timezone but server is held in US.

Go to End



Community Member, 137 Posts

28 October 2010 at 3:38pm

Hi guys,
I'm trying to modify the timezone for the event calendar so that it displays to the Australian timezone and not US eastern.
At the moment on the livecalendarwidget the "current day" is displayed as a day behind (because the US are just about a day behind)

The default settings I see related to it are in the Event_calendar/_config.php

Calendar::set_param('timezone', 'US-Eastern');



i18n::include_locale_file('event_calendar', 'en_US');

I have tried
Calendar::set_param('timezone', 'Australia-Victoria');
Calendar::set_param('timezone', 'AEST');

and also played with the CalendarDateTime::set_param('offset','-4:00'); and have tried putting that forward by 20+ hours or so but nothing seems to change it.

I am doing dev/build/ and ?flush after each change.

I might also add that the server I am testing this on is in the US. My local server servers up the correct Aus time/current day.

If anyone know what I might need to do would be great.