fixed reported bug #1468 (wrong time in messagelist)

This commit is contained in:
Klaus Leithoff 2008-03-27 08:54:48 +00:00
parent 894dfc127c
commit a9412a9f14

View File

@ -341,9 +341,9 @@
$this->t->set_var('message_uid', $header['uid']);
if ($dateToday == date('Y-m-d', $header['date'])) {
$this->t->set_var('date', date('H:i:s', $header['date']));
$this->t->set_var('date', $GLOBALS['egw']->common->show_date($header['date'],'H:i:s'));
} else {
$this->t->set_var('date', date($GLOBALS['egw_info']['user']['preferences']['common']['dateformat'], $header['date']));
$this->t->set_var('date', $GLOBALS['egw']->common->show_date($header['date'],$GLOBALS['egw_info']['user']['preferences']['common']['dateformat']));
}
$this->t->set_var('size', $this->show_readable_size($header['size']));