Adjusting the timezones
The timezones are set in:
Code Block |
---|
src/main/webapp/WEB-INF/context/calendarContext.xml
|
And default to:
Code Block | ||
---|---|---|
| ||
<util:list id="timeZones"> |
...
<value>America/ |
...
New_York</value> |
...
<value>America/Chicago</value> |
...
<value>America/Denver</value> |
...
<value>America/Phoenix</value> |
...
<value>America/Los_Angeles</value> |
...
<value>America/Anchorage</value> |
...
<value>America/Hawaii</value> |
...
</util:list> |
Code Block |
---|
You
...
can
...
add/edit/remove
...
timezones
...
in
...
this
...
list
...
to
...
customise
...
your
...
local
...
needs:
...
Code Block | ||
---|---|---|
| ||
<util:list id="timeZones"> |
...
<value>Australia/ACT</value> |
...
<value>Australia/Brisbane</value> |
...
<value>Australia/Canberra</value> |
...
<value>Australia/Currie</value> |
...
<value>Australia/Hobart</value> |
...
<value>Australia/Lindeman</value> |
...
<value>Australia/Melbourne</value> |
...
<value>Australia/NSW</value> |
...
<value>Australia/Queensland</value> |
...
<value>Australia/Sydney</value> |
...
<value>Australia/Tasmania</value> |
...
<value>Australia/Victoria</value> |
...
</util:list> |
...
You will also have to add the timezone entries to the file src/main/resources/i18n/messages.properties for display in the JSP pages.
The default timezone is stored as a portlet preference named 'timezone'. You can override this via channel configuration or via editing the portlet.xml for the portlet. By default it is 'America/Chicago'. Consult a list of timezone values, such as http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/timezone.html or http://en.wikipedia.org/wiki/Zone.tab