display data changed depending if compare dates or show date directly in the tree view #1976
(cherry picked from commit 93a2d15b2c
)
This commit is contained in:
parent
580900438f
commit
dc1dc7012c
|
@ -168,13 +168,22 @@ if ($get_module_detail) {
|
||||||
"modules_format_data",
|
"modules_format_data",
|
||||||
"align" => "left",
|
"align" => "left",
|
||||||
"width" => "230px"),
|
"width" => "230px"),
|
||||||
"Time" => array(
|
);
|
||||||
|
|
||||||
|
if($config['prominent_time']=='comparation'){
|
||||||
|
$columns["Time"] = array(
|
||||||
"utimestamp",
|
"utimestamp",
|
||||||
"modules_format_time",
|
"modules_format_time",
|
||||||
"align" => "left",
|
"align" => "left",
|
||||||
"width" => "50px")
|
"width" => "50px");
|
||||||
);
|
}else{
|
||||||
|
$columns["Timestamp"] = array(
|
||||||
|
"utimestamp",
|
||||||
|
"modules_format_timestamp",
|
||||||
|
"align" => "left",
|
||||||
|
"width" => "50px");
|
||||||
|
}
|
||||||
|
|
||||||
if ($selection_mode == "fromnow") {
|
if ($selection_mode == "fromnow") {
|
||||||
$date = get_system_time();
|
$date = get_system_time();
|
||||||
$period = $period;
|
$period = $period;
|
||||||
|
|
Loading…
Reference in New Issue