- Fix timezone string in sent mail (#1486961)

release-0.6
alecpl 14 years ago
parent 5cd00e2481
commit 64233d2189

@ -15,6 +15,7 @@ CHANGELOG RoundCube Webmail
- Fix JS error on IE when trying to send HTML message with enabled spellchecker (#1486940)
- Display inline images with known extensions and non-image content-type (#1486934)
- Fix "Threaded" checkbox after subfolder creation (#1486928)
- Fix timezone string in sent mail (#1486961)
RELEASE 0.4
-----------

@ -1602,7 +1602,8 @@ function rcmail_user_date()
$date = time() + $tz * 60 * 60;
$date = gmdate('r', $date);
$date = preg_replace('/[+-][0-9]{4}$/', sprintf('%+05d', $tz * 100), $date);
$tz = sprintf('%+05d', intval($tz) * 100 + ($tz - intval($tz)) * 60);
$date = preg_replace('/[+-][0-9]{4}$/', $tz, $date);
return $date;
}

Loading…
Cancel
Save