DST and Calendar - different times, same appointment

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

milanm
Posts: 10
Joined: Tue Aug 22, 2006 9:14 am

DST and Calendar - different times, same appointment

Postby milanm » Tue Mar 20, 2007 4:34 pm

Hello everyone,

I have encountered one pretty strange bug regarding the DST and the calendar. Before I post any further, I want to say that the e-mail component is working just fine, so only the calendar is affected.

Server
-------
My server is CentOS 4.4, fully patched for DST change. Here is the relevant DST query and output (as root):

Code: Select all

zdump -v /etc/localtime | grep 2007

/etc/localtime  Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000
/etc/localtime  Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 05:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 06:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 EST isdst=0 gmtoff=-18000


Also:

Code: Select all

ls -l /etc/localtime

lrwxrwxrwx  1 root root 35 Mar  2 15:16 /etc/localtime -> /usr/share/zoneinfo/America/Toronto



So, the server is patched properly.


Client
--------
Now, the client: Ubuntu 6.10 running Evolution 2.8.1. The client system is similarily patched for DST:

Code: Select all

zdump -v /etc/localtime | grep 2007
/etc/localtime  Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000
/etc/localtime  Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 05:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 06:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 EST isdst=0 gmtoff=-18000


cmp /etc/localtime /usr/share/zoneinfo/America/Toronto
returns nothing (so, nothing different).


The problem
------------------
My colleague Bob sends me a meeting invitation for Wednesday 5:00pm from his computer. I receive the invitation in my inbox in Evolution. At the same time, I have the firefox opened and I am logged in the web e-mail client.

Here is where the freakiness begins. This is the text that I see in the Evolution invite:

"Test Meeting for Milan

Start time: Tomorrow 4:00 PM
End time: Tomorrow 4:30 PM

Buy Oranges"

(Buy oranges is a test string that my colleague typed in.

I then click on "Accept" and save it via Evolution in the scalix calendar (through connector). I then click on "calendar" tab on Evolution and it shows as set from 4-4:30pm.


Now, I shut down evolution completely and start to work only in web interface. The inbox shows:

"When: Wednesday, March 21, 2007 from 5:00pm to 5:30pm (GMT-05:00)

*~*~*~*~*~*~*~*~*~*

Buy Oranges"


So, viewing the identical message in inbox, I see different times?!

Also, checking the calendar via web interface, I see the time slot of 5-5:30pm.

Viewing the same object, depending on how you access it, is showing different times, and I am stumped.

Did anyone have any idea what was going on? I know that the web interface is ran via tomcat and I know that java classes require the DST patch -- however, they are not the problem as they work properly.

Does this mean, however improbably, that the evolution itself needs patching? I religiously update the workstation and there is nothing offered for the evolution, as I checked this morning.

Thanks in advance everyone.

milanm
Posts: 10
Joined: Tue Aug 22, 2006 9:14 am

UPDATE: DST and Evolution - Evolution to blame?

Postby milanm » Tue Mar 20, 2007 4:45 pm

Reading this:

https://launchpad.net/ubuntu/+source/ev ... +bug/91637

It would appear that Evolution implements its own timezones. I have no idea why this would be the case, but it must be the source of my woes. I brought this up to the boards in hopes that I will save someone an hour of debugging time.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 14 guests