forked from extern/egroupware
- Set dates back to original timezone when done writing
- Use usertime for importing email, same as displayed in felamimail
This commit is contained in:
parent
1c600b919d
commit
d90a2c1ade
@ -943,6 +943,11 @@ class infolog_bo
|
|||||||
|
|
||||||
if ($info_from_set) $values['info_from'] = '';
|
if ($info_from_set) $values['info_from'] = '';
|
||||||
|
|
||||||
|
// Change new values back to user time before sending them back
|
||||||
|
if($user2server)
|
||||||
|
{
|
||||||
|
$this->time2time($values);
|
||||||
|
}
|
||||||
// merge changes (keeping extra values from the UI)
|
// merge changes (keeping extra values from the UI)
|
||||||
$values_in = array_merge($values_in,$values);
|
$values_in = array_merge($values_in,$values);
|
||||||
}
|
}
|
||||||
@ -1066,7 +1071,7 @@ class infolog_bo
|
|||||||
'info_addr' => implode(', ',$email),
|
'info_addr' => implode(', ',$email),
|
||||||
'info_subject' => $_subject,
|
'info_subject' => $_subject,
|
||||||
'info_des' => $_message,
|
'info_des' => $_message,
|
||||||
'info_startdate' => $_date,
|
'info_startdate' => egw_time::server2user($_date),
|
||||||
'info_status' => $status,
|
'info_status' => $status,
|
||||||
'info_priority' => 1,
|
'info_priority' => 1,
|
||||||
'info_percent' => $status == 'done' ? 100 : 0,
|
'info_percent' => $status == 'done' ? 100 : 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user