Personal tools
You are here: Home About this site... How-Tos Changing the Time Zone in Plone
Document Actions

Changing the Time Zone in Plone

by Matt Blair last modified March 28, 2006 04:58 UTC

Requires file system access

You can choose one time zone per Zope instance, and all the Plone sites within that instance will have the same time zone settings.  To change the time zone, you need access to your Zope instance on the file system.

In the 'bin' directory, make a backup of the runzope file using a command like "cp runzope runzope.YYMMDD" - where YYMMDD is the year, month and date.  Then open runzope in a text editor.

First, add a line just below PYTHONPATH to define the TZ variable, such as:

TZ="GMT"
TZ="America/New_York"
TZ="America/Los_Angeles"

Then add either:

export TZ

Or, if you already have an export line in the runzope script, add TZ to the end of it, like this:

export PYTHONPATH INSTANCE_HOME SOFTWARE_HOME TZ

Save the changes to the runzope script and exit the editor.

You will need to restart the Zope server for that instance before the change will take effect.

Helpful Links



Creative Commons License
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.


Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: