diff --git a/admin/inc/class.admin_asyncservice.inc.php b/admin/inc/class.admin_asyncservice.inc.php index 171622987a..88d938855c 100644 --- a/admin/inc/class.admin_asyncservice.inc.php +++ b/admin/inc/class.admin_asyncservice.inc.php @@ -90,7 +90,7 @@ class admin_asyncservice echo '
'."\n"; $last_run = $async->last_check_run(); - $lr_date = $last_run['end'] ? Api\DateTime::server2user($last_run['end']) : lang('never'); + $lr_date = $last_run['end'] ? Api\DateTime::server2user($last_run['end'],'') : lang('never'); echo '

'.lang('Async services last executed').': '.$lr_date.' ('.$last_run['run_by'].")

\n
\n"; if (isset($_POST['asyncservice']) && $_POST['asyncservice'] != $GLOBALS['egw_info']['server']['asyncservice']) @@ -160,7 +160,7 @@ class admin_asyncservice { $next = $async->next_run($times,True); - echo "

asyncservice::next_run(";print_r($times);echo")=".($next === False ? 'False':"'$next'=".Api\DateTime::server2user($next))."

\n"; + echo "

asyncservice::next_run(";print_r($times);echo")=".($next === False ? 'False':"'$next'=".Api\DateTime::server2user($next,''))."

\n"; } echo '

 \n"; echo '\n"; @@ -170,10 +170,10 @@ class admin_asyncservice echo '


'.lang('Jobs').":\n"; if (($jobs = $async->read('%'))) { - echo "\n\n\n"; + echo "
Id".lang('Next run').''.lang('Times').''.lang('Method').''.lang('Data')."".lang('LoginID')."
\n\n\n"; foreach($jobs as $job) { - echo "\n\n
Id".lang('Next run').''.lang('Times').''.lang('Method').''.lang('Data')."".lang('LoginID')."
$job[id]".Api\DateTime::server2user($job['next']).""; + echo "
$job[id]".Api\DateTime::server2user($job['next'],'').""; print_r($job['times']); echo "$job[method]"; print_r($job['data']);