Copyright 2002-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you
did not receive this file, see http://www.horde.org/licenses/gpl.
/** */ protected function _getHeaderValue($ob, $header) { switch ($header) { case 'date': return $GLOBALS['injector']->getInstance('IMP_Message_Ui')->getLocalTime(new Horde_Imap_Client_DateTime($ob->getValue('date'))); default: return parent::_getHeaderValue($ob, $header); } }
/** */ protected function _getHeaderValue($ob, $header) { switch ($header) { case 'date': $date_ob = new IMP_Message_Date($ob['Date']); return $date_ob->format($date_ob::DATE_LOCAL); default: return parent::_getHeaderValue($ob, $header); } }