alecpl
2010-08-29 64233d21890da61b4052f4ffd6bc34e4a83f5bc6
program/steps/mail/func.inc
@@ -1602,7 +1602,8 @@
  $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;
}