Commit a125e4f0f06a314b71a5ba6ce385805363e97f3f
1 parent
01c17a02
Exists in
master
and in
64 other branches
Remove interval duration
Showing
1 changed file
with
1 additions
and
5 deletions
Show diff stats
src/InputOutput/IHMImpl/Tools/IHMJobsManagerClass.php
... | ... | @@ -278,7 +278,6 @@ class IHMJobsManagerClass { |
278 | 278 | $infos['Condition'] = $obj['expression']; |
279 | 279 | $infos['Start date'] = $obj['startDate']; |
280 | 280 | $infos['Stop date'] = $obj['stopDate']; |
281 | - $infos['Duration'] = $obj['durationDay'] . 'd ' . $obj['durationHour'] . 'h ' . $obj['durationMin'] . 'm ' . $obj['durationSec'] . 's'; | |
282 | 281 | break; |
283 | 282 | |
284 | 283 | case 'statistics': |
... | ... | @@ -286,7 +285,6 @@ class IHMJobsManagerClass { |
286 | 285 | $infos['Name'] = $obj['name']; |
287 | 286 | $infos['Start date'] = $obj['startDate']; |
288 | 287 | $infos['Stop date'] = $obj['stopDate']; |
289 | - $infos['Duration'] = $obj['durationDay'] . 'd ' . $obj['durationHour'] . 'h ' . $obj['durationMin'] . 'm ' . $obj['durationSec'] . 's'; | |
290 | 288 | if(array_key_exists('expression', $obj)) { |
291 | 289 | $infos['Expression'] = $obj['expression']; |
292 | 290 | } |
... | ... | @@ -314,7 +312,6 @@ class IHMJobsManagerClass { |
314 | 312 | } |
315 | 313 | $infos['Start date'] = $obj['startDate']; |
316 | 314 | $infos['Stop date'] = $obj['stopDate']; |
317 | - $infos['Duration'] = $obj['durationDay'] . 'd ' . $obj['durationHour'] . 'h ' . $obj['durationMin'] . 'm ' . $obj['durationSec'] . 's'; | |
318 | 315 | break; |
319 | 316 | |
320 | 317 | // Plot |
... | ... | @@ -326,7 +323,6 @@ class IHMJobsManagerClass { |
326 | 323 | if($tab->id == $obj['last-plotted-tab']) { |
327 | 324 | $infos['Start date'] = $tab->startDate; |
328 | 325 | $infos['Stop date'] = $tab->stopDate; |
329 | - $infos['Duration'] = $tab->durationDay . 'd ' . $tab->durationHour . 'h ' . $tab->durationMin . 'm ' . $tab->durationSec . 's'; | |
330 | 326 | |
331 | 327 | $strPanels = []; |
332 | 328 | foreach ($tab->panels as $panel) { |
... | ... | @@ -355,7 +351,7 @@ class IHMJobsManagerClass { |
355 | 351 | default: |
356 | 352 | $name = "unknown_".time(); |
357 | 353 | } |
358 | - $infos['Started at'] = gmdate("Y-m-d\TH:i:s\Z", $start); | |
354 | + $infos['Started at'] = gmdate("Y-m-d H:i:s", $start); | |
359 | 355 | |
360 | 356 | $strInfo = ''; |
361 | 357 | foreach ($infos as $key => $info) { |
... | ... |