Skip to content

Commit

Permalink
MDL-72251 Task: Display the time in full accuracy
Browse files Browse the repository at this point in the history
For more specific diagnostic, it's added seconds in tasks time.
  • Loading branch information
lostrogit committed Sep 12, 2021
1 parent 1d70079 commit 2a6dce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/classes/local/entities/task_log.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ protected function get_all_columns(): array {
->set_type(column::TYPE_TIMESTAMP)
->add_field("{$tablealias}.timestart")
->set_is_sortable(true)
->add_callback([format::class, 'userdate']);
->add_callback([format::class, 'userdate'], get_string('strftimedatetimeshortaccurate', 'core_langconfig'));

// Duration column.
$columns[] = (new column(
Expand Down

0 comments on commit 2a6dce0

Please sign in to comment.