Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-30-2006, 06:42 AM
Intermediate Member
 
Posts: 24
Default [SOLVED] Calendar always has wrong time

Hi,

Here's what's going on:

1) Server set at GMT
2) User can select timezones in calendar events
3) Bottom left of Zimbra web client showing correct time (which is Atlantic)
4) Calendar event is created for 7:30AM with Atlantic Time chosen
5) Calendar shows event at 9:30AM
6) Time zone changed to Eastern
7) Calendar shows event at 8:30AM
8) Time zone changed to Central
9) Calendar shows event at 10:30AM (what!?)

I tried changing the timezone on the server. It had zero effect. So then I set it back to GMT and removed the user's option of selecting a timezone in calendar events. The result was that a 7:30 event shows up as 11:30AM.

Then I ran
Code:
zmprov ga username | sed -n 's/^zimbraPrefTimeZoneId: //p'
which showed the user's timezone as Pacific. So I changed it to Atlantic with the following
Code:
zmprov ma username zimbraPrefTimeZoneId "(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"
I then created a 7:30AM calendar event. It showed as 11:30AM again. I changed the user's timezone to GMT at a 7:30 event still showed as 11:30.

I have tried Firefox, Safari, and IE on OS X and WinXP. Same results. Any ideas?

Regards,
Doug

Last edited by Doug_M : 10-09-2006 at 09:11 AM. Reason: Solved
Reply With Quote
  #2 (permalink)  
Old 08-02-2006, 04:40 PM
Starter Member
 
Posts: 2
Default

i have the same problem..
we have an option to set all users to use an specific timezone?
Reply With Quote
  #3 (permalink)  
Old 08-02-2006, 05:23 PM
Intermediate Member
 
Posts: 24
Default

I don't know if you can set all user's timezone at once, but you can do it individually. Didn't make a difference though anyway.
Reply With Quote
  #4 (permalink)  
Old 08-05-2006, 08:58 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

It's entirely possible that I'm wrong on this, but I think the web ui pulls time from the local machine.

This would make sense becasue:
1) I just changed the time on my PC and it changed in the web ui
2) If you are a large corp that spans time zones, then that would make the timezone function null on the server.

Try to set the time on the PC.

Let us know.
jh
Reply With Quote
  #5 (permalink)  
Old 08-05-2006, 09:18 PM
Intermediate Member
 
Posts: 24
Default

You're right, it is supposed to set the timezone from your PC. But it isn't! It doesn't matter if I use my mac, my wife's pc, Safari, Firefox, IE. It is the same thing, 4 hours ahead. We're Atlantic time (even checked my router's settings) and the calendar events are set as if they were Pacific time (four hours behind Atlantic).

In fact, if I change a user's time zone to Atlantic via the CLI, once that user logs in his time zone is changed back to Pacific (checked via the CLI again). This happens regardless of OS, browser, etc.
Reply With Quote
  #6 (permalink)  
Old 08-05-2006, 09:27 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Can you run
Code:
zmprov ga username | sed -n 's/^zimbraPrefTimeZoneId: //p'
The post your log? (/var/log/zimbra.log) (/opt/zimbra/log/zimbra.log)

I wanna see if it's returning an error.
Reply With Quote
  #7 (permalink)  
Old 08-05-2006, 09:38 PM
Intermediate Member
 
Posts: 24
Default

As I mentioned before, that shows my "user" as having a time zone of Pacific. No errors in either log. In fact no entry is made in those logs at all after that command is run.

Doug
Reply With Quote
  #8 (permalink)  
Old 08-05-2006, 09:43 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

I'm filtering through the bugs now;
what OS?
Reply With Quote
  #9 (permalink)  
Old 08-05-2006, 09:53 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Hi Doug-
I am unable to reproduce the result, so if you filed a bugzilla bug, it would likely be marked as "WORKSFORME".

I'm gonna see if one of the Zimbra Mods know any more, but I'm all out of ideas.

Sorry,
jh
Reply With Quote
  #10 (permalink)  
Old 08-06-2006, 02:31 PM
Intermediate Member
 
Posts: 24
Default

Thanks JH. I've combed through the forums and have tried a few things but always have the same (or similar) results. It is very bizarre.

One thing is consistent though. Whenever a user logs into the web client, his time zone is set to Pacific. And this is regardless of whether that is Linux, WinXP, or OS X (and various browsers).

The server is OpenSuse 10. I was running the release version of Zimbra Community and upgraded to 3.2 Beta2 yesterday. The problem is still there and acting identical to before.

And the kicker, the time in the bottom left is always correct!

Regards,
Doug
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0