- fix internal date parsing

release-0.6
alecpl 16 years ago
parent 4b8a5ce814
commit 0fc97c2833

@ -1743,7 +1743,7 @@ function iil_C_FetchHeaders(&$conn, $mailbox, $message_set, $uidfetch=false)
//get timezone //get timezone
$time_str = substr($time_str, 0, -1); $time_str = substr($time_str, 0, -1);
$time_zone_str = substr($time_str, -5); // extract timezone $time_zone_str = substr($time_str, -5); // extract timezone
$time_str = substr($time_str, 1, -6); // remove quotes $time_str = substr($time_str, 0, -5); // remove timezone
$time_zone = (float)substr($time_zone_str, 1, 2); // get first two digits $time_zone = (float)substr($time_zone_str, 1, 2); // get first two digits
if ($time_zone_str[3] != '0') { if ($time_zone_str[3] != '0') {

Loading…
Cancel
Save