When setting my timezone to Central Standard Time (CST), my inbox messages appear to be 1 hour later.
For instance, if it is 10:42pm CST and a new message arrives, my inbox shows that it arrived at 11:42pm CST instead. This appears to happen with other timezones as well.
this is because your daylight savings box is checked. just because the box is checked doesn't mean that it automatically adjusts to daylight savings time. You have to manually check and uncheck it depending if you are or not officially in daylight savings time.
P.S. Maybe this is something I should request as a mod. Automatic daylight savings adjustment
Quote from: dukhunter99 P.S. Maybe this is something I should request as a mod. Automatic daylight savings adjustment
You better believe it, I too thought the check box was to enable AUTOMAGIC daylight savings time adjustment
Michael
Thank you very much, you were exactly right.
I would have never tried this, because I too thought this meant that it would switch automatically with daylight savings time.
Thanks again!
Last Saturday the time was changed and a user realized that email time appeared wrongly. I've been checking the code and I've found this:
program/include/main.inc,line ~1510 (using rc 0.1.1):
// get user's timezone
$tz = $CONFIG['timezone'];
if ($CONFIG['dst_active'])
$tz++;
I don't known why the if condition should depend on the user's choice, so I find more logical that the if checks in the system whether dst is active or not:
// get user's timezone
$tz = $CONFIG['timezone'];
if ((bool)date('I'))
$tz++;
It changes the hour automatically, and now it works fine. I hope it will still work after 6 months.
It is absolutely ridiculous to make everyone revisit their timezone settings every six months each time the clocks change.
Whoever set this up must live in Arizona or some country where they do not change the clocks.
I have changed my label for this checkbox preference, from "Daylight saving time" to "Auto-adjust Daylight Saving" which is what 99% of users expect this checkbox to do. Then, the implementation of that behavior is a quick patch to one line
in program/include/main.inc line 731 (0.2b)
- if ($CONFIG['dst_active'])
+ if ($CONFIG['dst_active'] && (bool)date('I'))
$tz++;
Here is the label change:
./program/localization/en_US/labels.inc
- $labels['dstactive'] = 'Daylight saving time';
+ $labels['dstactive'] = 'Auto-adjust Daylight Saving';
This increments the local timezone offset only if the user has checked the box AND it's actually the right time of year.
Granted, this solution is still not right if your server is not in an area that observes DST (ie and the poor user *is* in a DST-observing location). Also, the time may be incorrect for a week or two every year if the user and server do not share the same official clock shifting rules/dates.
But this patch will make things "just work right" for 99% of you out there.
Thanks for the patch, works a treat.
I also assumed it was "auto" and found this thread via google. Lets hope it goes in the next release. :)