trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2012

Re: [trinity-devel] Date bug in kmail?

From: Darrell Anderson <humanreadable@...>
Date: Sat, 17 Nov 2012 11:42:40 -0800 (PST)
> When viewing an email there is a blue box in the top right corner of the window. On my system the
> date is offset ahead by one hour.
> 
> The likely explanation is kmail has not been updated to the newer DST period. (Why would kmail use an internal calendar
> rather than a system calender?)
> 
> Only people affected by the DST nonsense are likely to see this bug.
> 
> Would somebody please confirm?

The code for the box display is in tdepim/kmail/headerstyle.cpp. I'm not a C++ guru but from what I think I see, the code is pulling the date/time information from the system. As the time in the clock applet in my kicker panel is correct, and the date command in konsole is correct, I don't know how kmail is shifting the time by one hour, the exact difference of the DST shift last weekend. I don't see anything obvious in tqdatetime.h or ntqdatetime.h.

Darrell