Please login or register to participate.
nickinoz Jan 19, 2010 07:28 AM
My install seems to be stuck in US/Central time. I have checked that my physical machine is set to correct local date/time and that my server install is set to Australia/Adelaide but when the system generates an e-mail it is in US/Central time.
Could you provide some pointers to where I can go next to see if I have missed something.

Many thanks, I'm loving
Replies (5)
kashi Jan 19, 2010 10:22 AM
I am facing the same issue. I have checked my system which is showing me local IST. But when I check in the site its not showing the same time.
dhiraj Jan 19, 2010 08:31 PM
Hmm... yes, timezones are a bit of a bother, at the moment:

You're both on the ISO CD installer?

Hmm... this requires a re-buildout, it's a zope server setting. You can set it up in the user.cfg file and re-buildout. This will also be problematic with upgrades, because you'll have to repeat this process:

WARNING #1: I recommend not to try this on directly on a production installation, you should test this on a test installation / virtual machine first to see what happens.
WARNING #2: You should back up, before you do any of below. An automatic backup can be done by cding to /home/cynin/buildout and running command: ./bin/snapshotbackup

In buildout root folder, (in install from ISO CD, this is at /home/cynin/buildout), you'll find user.cfg. In this you'll find a zope-conf-additional section, with WebDAV settings. Make it look like below, instead: (cd to the directory and open the file in editor like nano):

zope-conf-additional +=
          ##### Substitute your timezone name below (Tip: If you're not sure, try looking up timezone name from:
          TZ Europe/Berlin
    enable-ms-author-via on
        # valid keys are "address" and "force-connection-close"
        address 1980
        force-connection-close off

Once you've edited above file, you have to re-buildout.
Console commands:
#### First command is for installations from ISO CD only. In buildout from source type of installs, you already know what to do to stop the running instance, if any. :)
/etc/init.d/cynin stop
rm .installed.cfg
./bin/buildout -c user.cfg

... wait for it, this takes a bit of time and a lot of scroll, and on completion, restart the cynin service by doing:
/etc/init.d/cynin start

Check and see if your timezone problems are solved. :)
If in doubt, try creating a new item like a test status message or discussion and checking how it shows up in the Activity Stream.
noname Jul 15, 2010 10:21 PM
hi, i've just recently begun evaluating your product. really like what i see so far but am facing similar issues with the time stamps being recorded. I installed from the ISO cd installer, as a virtual machine. I initially had issues just getting the time showing correct within the o/s. Have it set to Central Standard time using 'SystemV/CST6'. I had a look at the discussion you referenced above and followed through step by step, adding the environment section using 'TZ SystemV/CST6', doing a re-buildout, etc. I have a pretty default set up currently only have 3 spaces added.

Adding a new discussion and viewing it from the spaces 'dashboard view' shows the correct time - it shows 'last created by ..., July 15, 2010 3:10pm for example. If I switch the the application view: discussions board, I again see the correct date-time stamp information. The problem is when I click on the discussion item itself to take me to the detailed view. On this view (on the view tab) at the top it shows the date-time stamp 1 hour ahead as Jul 15, 2010 04:10 PM. And look at the details below it shows created by ..., July 15, 2010 4:40pm (again incorrect at 1 hour ahead) and shows 'Last Activity' correctly at 3:10pm.

It's making no sense to me why timestamps should be so mixed up :(

I've also tried defining TZ=SystemV/CST6 in the zopectl startup script (./parts/instance/bin/zopectl) with no luck as well.

Hoping you can provide a suggestion/solution. Without a fix this will be a deal breaker for us.
noname Jul 16, 2010 12:01 AM
I seemed to have solved my problem, working more with the dpkg-reconfigure tzdata command and hwclock commands. date-time stamps are looking correct and consistent now!

Glad this resolved itself - really impressed with the product so far.
aeseawright Mar 02, 2011 10:46 PM
This post is a bit old now but I am also having an issue with timezones; when I create a new document in our istallation, the "Last Activity" timestamp shows up correctly, but the "Created By" and "Modified" timestamps are different (but the same as each other).

I have already updated the timezone information through the re-buildout process (which did fix the "Last Activity" timestamp, and have played around with the dpkg-reconfigure tzdata and hwclock commands but no matter what I do I can't get them to all sync.

Is there anything else I can try?