diff --git a/htdocs/cron/list.php b/htdocs/cron/list.php index 4393d248d3f..33ed5ed893f 100644 --- a/htdocs/cron/list.php +++ b/htdocs/cron/list.php @@ -549,19 +549,21 @@ if ($num > 0) { } print ''; - print ''; + $datefromto = (empty($obj->datestart) ? '' : dol_print_date($db->jdate($obj->datestart), 'dayhour', 'tzserver')).' - '.(empty($obj->dateend) ? '' : dol_print_date($db->jdate($obj->dateend), 'dayhour', 'tzserver')); + + print ''; if (!empty($obj->datestart)) { print dol_print_date($db->jdate($obj->datestart), 'dayhour', 'tzserver'); } print ''; - print ''; + print ''; if (!empty($obj->dateend)) { print dol_print_date($db->jdate($obj->dateend), 'dayhour', 'tzserver'); } print ''; - print ''; + print ''; if (!empty($obj->nbrun)) { print $obj->nbrun; } else {