[Bug 512286] [NEW] kontact displays event on the wrong day

JB jmb365 at gmail.com
Mon Jan 25 11:07:36 UTC 2010


Public bug reported:

Binary package hint: kdepim

In Ubuntu Jaunty, Kontact Version 1.4.2 displays an event scheduled at
19:00:00 US-EST on day "X" as day "X+1" in the week or monthly view.  If
the event is scheduled for 18:59:00 US-EST then it is displayed
correctly as occurring on day "X".  My hypothesis is 19:00:00 adjusted
to UTC becomes 00:00:00 but the code that is supposed to calculate back
to US-EST subtracts the 5:00:00 hrs from the UTC stamp, but fails to
reduce the date by one day.  This is illustrated by the following 2
examples.  The first one is displayed incorrectly as an event occurring
on 28th Jan, 2010 at 7:00:00 PM US-EST, while the latter (set on minute
earlier) is displayed correctly as occurring on 27th Jan, 2010 at
6:59:00 US-EST.

BEGIN:VEVENT
DTSTAMP:20100124T223140Z
ORGANIZER;CN=jmb:MAILTO:
CREATED:20100124T223138Z
UID:libkcal-446501855.679
LAST-MODIFIED:20100124T223138Z
DESCRIPTION:Test-Incorrect.
SUMMARY:Test
LOCATION:Test
CATEGORIES:Misc
DTSTART:20100128T000000Z
DTEND:20100128T010000Z
TRANSP:OPAQUE
END:VEVENT

BEGIN:VEVENT

DTSTAMP:20100124T230258Z

ORGANIZER;CN=jmb:MAILTO:

CREATED:20100124T224329Z

UID:libkcal-634523736.918

SEQUENCE:2

LAST-MODIFIED:20100124T230256Z

DESCRIPTION:Test-Works.

SUMMARY:Test

LOCATION:Test

CATEGORIES:Misc

DTSTART:20100127T235900Z

DTEND:20100128T005900Z

TRANSP:OPAQUE

END:VEVENT

If there is any more information that is needed to diagnose and fix this
bug I will be glad to supply it.  Thanks

JMB

** Affects: kdepim (Ubuntu)
     Importance: Undecided
         Status: New

-- 
kontact displays event on the wrong day
https://bugs.launchpad.net/bugs/512286
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdepim in ubuntu.




More information about the kubuntu-bugs mailing list