Please can a developer delete these three lines 351 ff in UserMailer.php
if( !$timecorrection ) {
# fail safe
$timecorrection = '00:00';
}These lines - even when they were intended as a fail-safe - _break_ a
potentially given $wgLocalTZoffset value, with which the sysop can force a
certain offset of all time displays.
Without the three lines, it will also correctly work in enotifs:
- Users having a timecorrection _set_ in their preferences, receive enotifs with
page edit times expressed in their local time
- User w/o a timecorrection (i.e. empty field) receive enotif with the _local_
time (= servertime + $wgLocalTZoffset, as intended)
Version: 1.5.x
Severity: normal