Skip to content

Commit

Permalink
fix: dataflow table view
Browse files Browse the repository at this point in the history
Resolves #867
  • Loading branch information
keevan committed Feb 27, 2024
1 parent 7a83148 commit 1ffeadc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/dataflows_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ public function col_lastrunduration(\stdClass $record): string {
. get_string('runningfor', 'tool_dataflows', format_time($delta, 0)) . '</span>';
}
if ($delta > 10) {
return format_time(number_format($delta, 0));
return format_time((float) number_format($delta, 0));
}
return format_time(number_format($delta, 1));
return format_time((float) number_format($delta, 1));
}
return '';
}
Expand Down

0 comments on commit 1ffeadc

Please sign in to comment.