Date: 14 Feb 2007
Reason: http://tracker.moodle.org/browse/MDL-3681
+
lib/phpmailer/class.phpmailer.php
Changed by skodak
Date 12 Mar 2007
- Reason: support for gb18030
\ No newline at end of file
+ Reason: support for gb18030
+
+
+ lib/phpmailer/class.phpmailer.php
+
+ Changed by skodak
+ Date 15 Dec 2007
+ Reason: MDL-12596 - correct timezone in date
+
\ No newline at end of file
$tz = date("Z");
$tzs = ($tz < 0) ? "-" : "+";
$tz = abs($tz);
- $tz = ($tz/3600)*100 + ($tz%3600)/60;
+ $tz = (($tz - ($tz%3600) )/3600)*100 + ($tz%3600)/60; // moodle change - MDL-12596
$result = sprintf("%s %s%04d", date("D, j M Y H:i:s"), $tzs, $tz);
return $result;