diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index de092666a2..7a7903316f 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -2304,7 +2304,7 @@ class mail_compose $this->sessionData['body'] = /*"
".*//*" ".*/"
".'----------------'.lang("original message").'-----------------'."".'
'. @htmlspecialchars(lang("from")).": ".$fromAddress."
". $toAddress.$ccAddress. - @htmlspecialchars(lang("date").": ".$headers['DATE'],ENT_QUOTES | ENT_IGNORE,Mail::$displayCharset, false)."
". + @htmlspecialchars(lang("date").": ".Mail::_strtotime($headers['DATE'],'r',true),ENT_QUOTES | ENT_IGNORE,Mail::$displayCharset, false)."
". '----------------------------------------------------------'."
"; $this->sessionData['mimeType'] = 'html'; if (!empty($styles)) $this->sessionData['body'] .= $styles; @@ -2336,7 +2336,7 @@ class mail_compose $this->sessionData['body'] = " \r\n \r\n".'----------------'.lang("original message").'-----------------'."\r\n". @htmlspecialchars(lang("from")).": ".$fromAddress."\r\n". $toAddress.$ccAddress. - @htmlspecialchars(lang("date").": ".$headers['DATE'], ENT_QUOTES | ENT_IGNORE,Mail::$displayCharset, false)."\r\n". + @htmlspecialchars(lang("date").": ".Mail::_strtotime($headers['DATE'],'r',true), ENT_QUOTES | ENT_IGNORE,Mail::$displayCharset, false)."\r\n". '-------------------------------------------------'."\r\n \r\n "; $this->sessionData['mimeType'] = 'plain';