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?
Darrell
On Saturday 17 of November 2012 19:54:13 Darrell Anderson wrote:
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?
Darrell
In header of your mail I see: Date: Sat, 17 Nov 2012 10:54:13 -0800 (PST)
My timezone is now +0100. And in blue box I see time offset 9 hours behind my local time. That seems to be correct.
Slavek --
In header of your mail I see: Date: Sat, 17 Nov 2012 10:54:13 -0800 (PST)
My timezone is now +0100. And in blue box I see time offset 9 hours behind my local time. That seems to be correct.
I don't use kmail for this mail list. I use webmail. I have no idea where the server is located for these mails.
Regardless, the blue box time is incorrect. The time should be the same as the system. I use local time and not universal time on my system. Therefore the blue box should display the same time as everything else. The kmail blue box clock does not match the clock applet in my kicker panel.
Darrell
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
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.
I think I see the problem.
I received some system emails from another box in my network. The time in the box was the same as the current time. Curious, I then looked at emails received from other people and from before the DST shift Nov. 4. The times in the box from emails from before the DST shift are two hours ahead of the current time.
Focusing about what might be happening, and based upon what I see, I'm guessing the box is conveying the current time of the sender relative to the current time of the recipient's machine. Seems like a half-decent intent.
Yet if that is the case, then the problem is the box text. The text string "Now" is misleading. The box should be revised from "Now:" to "Sender's Current Time:."
Even then, the time will be skewered across DST shifts because when I view an email from two weeks ago, before the Nov. 4 shift, the box says the time is two hours ahead, which is incorrect.
Any ideas for an optimal way to fix this misleading text?
Darrell
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.
I think I see the problem.
I received some system emails from another box in my network. The time in the box was the same as the current time. Curious, I then looked at emails received from other people and from before the DST shift Nov. 4. The times in the box from emails from before the DST shift are two hours ahead of the current time.
Focusing about what might be happening, and based upon what I see, I'm guessing the box is conveying the current time of the sender relative to the current time of the recipient's machine. Seems like a half-decent intent.
Yet if that is the case, then the problem is the box text. The text string "Now" is misleading. The box should be revised from "Now:" to "Sender's Current Time:."
Even then, the time will be skewered across DST shifts because when I view an email from two weeks ago, before the Nov. 4 shift, the box says the time is two hours ahead, which is incorrect.
Any ideas for an optimal way to fix this misleading text?
Darrell
The box is also messed up even further in that it is not updated if the Email is left up on the screen; the Email has to be reloaded in order to update the "Now" box with the current date/time of the sender. It also has a tendency to truncate text if the date string grows too long.
I don't remember exactly when/where this "feature" was introduced, but I am pretty sure it was either from OpenSUSE or the kdepim enterprise branch. Someone had half a good idea but didn't implement it correctly. :-)
Tim
The box is also messed up even further in that it is not updated if the Email is left up on the screen; the Email has to be reloaded in order to update the "Now" box with the current date/time of the sender. It also has a tendency to truncate text if the date string grows too long.
I don't remember exactly when/where this "feature" was introduced, but I am pretty sure it was either from OpenSUSE or the kdepim enterprise branch. Someone had half a good idea but didn't implement it correctly. :-)
I will file a bug report with all observations. I will create a patch for the text string "Now:" and attach to the bug report. Actually, I think I'll push the patch to GIT and mention the commit in the bug report. At least the text no longer will mislead users about the purpose.
I remember the patch from a long time ago when I started using Trinity because the box is not part of 3.5.10. The patch is from the old Chakra distro, commit d8b40941, 2010-09-07:
http://git.trinitydesktop.org/cgit/tdepim/commit/kmail/headerstyle.cpp?id=d8...
Darrell