mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
HistoryLog: making sure server-side sends eT2 compatible values and use new Et2DateTimeReadonly widget
thought set_value of web-component get not called and nothing is displayed therefore
This commit is contained in:
parent
1215762f04
commit
7fb436d44c
@ -322,7 +322,7 @@ class History
|
|||||||
$query['num_rows']
|
$query['num_rows']
|
||||||
) as $row)
|
) as $row)
|
||||||
{
|
{
|
||||||
$row['user_ts'] = $GLOBALS['egw']->db->from_timestamp($row['history_timestamp']) + 3600 * $GLOBALS['egw_info']['user']['preferences']['common']['tz_offset'];
|
$row['user_ts'] = Api\DateTime::server2user($GLOBALS['egw']->db->from_timestamp($row['history_timestamp']), Api\DateTime::ET2);
|
||||||
|
|
||||||
// Explode multi-part values
|
// Explode multi-part values
|
||||||
foreach(array('history_new_value', 'history_old_value') as $field)
|
foreach(array('history_new_value', 'history_old_value') as $field)
|
||||||
@ -413,4 +413,4 @@ class History
|
|||||||
$name == 'De' || // Tracker, InfoLog
|
$name == 'De' || // Tracker, InfoLog
|
||||||
($value && (strlen($value) > 200 || strstr($value, "\n") !== FALSE));
|
($value && (strlen($value) > 200 || strstr($value, "\n") !== FALSE));
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user