Skip to content

Commit

Permalink
Add missing date/time formating in Backup job report
Browse files Browse the repository at this point in the history
  • Loading branch information
dfranco committed May 7, 2017
1 parent 5abd106 commit 0ec2420
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion backupjob-report.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@

// Job bytes more easy to read
$job['jobbytes'] = CUtils::Get_Human_Size($job['jobbytes']);
$job['jobfiles'] = CUtils::format_Number($job['jobfiles']);
$job['jobfiles'] = CUtils::format_Number($job['jobfiles']);

// Format date/time
$job['starttime'] = date( $dbSql->datetime_format, strtotime($job['starttime']));
$job['endtime'] = date( $dbSql->datetime_format, strtotime($job['endtime']));

$jobs[] = $job;
} // end while
Expand Down

0 comments on commit 0ec2420

Please sign in to comment.