mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:18:57 +01:00
Convert mail Date header to user timezone when being displayed on forward/replay header
This commit is contained in:
parent
ad84dfae97
commit
1bcc884e24
@ -2300,7 +2300,7 @@ class mail_compose
|
||||
$this->sessionData['body'] = /*"<br>".*//*" ".*/"<div>".'----------------'.lang("original message").'-----------------'."".'<br>'.
|
||||
@htmlspecialchars(lang("from")).": ".$fromAddress."<br>".
|
||||
$toAddress.$ccAddress.
|
||||
@htmlspecialchars(lang("date").": ".$headers['DATE'],ENT_QUOTES | ENT_IGNORE,Mail::$displayCharset, false)."<br>".
|
||||
@htmlspecialchars(lang("date").": ".Mail::_strtotime($headers['DATE'],'r',true),ENT_QUOTES | ENT_IGNORE,Mail::$displayCharset, false)."<br>".
|
||||
'----------------------------------------------------------'."</div>";
|
||||
$this->sessionData['mimeType'] = 'html';
|
||||
if (!empty($styles)) $this->sessionData['body'] .= $styles;
|
||||
@ -2332,7 +2332,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';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user