10447 Posts in 2223 Topics by 1719 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 784 Views |
-
How to set timezone on event calendar? To Australian Timezone but server is held in US.

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('language','EN');
Calendar::set_param('timezone', 'US-Eastern');CalendarDateTime::set_param('offset','-4:00');
CalendarDateTime::set_date_format('dmy');
CalendarDateTime::set_time_format('24');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.
| 784 Views | ||
|
Page:
1
|
Go to Top |

