mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 13:41:15 -07:00
Don't show seconds in users / libraries total duration
This commit is contained in:
parent
fcc70a9b74
commit
98b4fa41a7
2 changed files with 2 additions and 2 deletions
|
@ -192,7 +192,7 @@ libraries_list_table_options = {
|
||||||
"data": "duration",
|
"data": "duration",
|
||||||
"createdCell": function (td, cellData, rowData, row, col) {
|
"createdCell": function (td, cellData, rowData, row, col) {
|
||||||
if (cellData !== null && cellData !== '') {
|
if (cellData !== null && cellData !== '') {
|
||||||
$(td).html(humanDuration(cellData, 'dhm', 's'));
|
$(td).html(humanDuration(cellData, 'dhm', 's', false));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"searchable": false,
|
"searchable": false,
|
||||||
|
|
|
@ -208,7 +208,7 @@ users_list_table_options = {
|
||||||
"data": "duration",
|
"data": "duration",
|
||||||
"createdCell": function (td, cellData, rowData, row, col) {
|
"createdCell": function (td, cellData, rowData, row, col) {
|
||||||
if (cellData !== null && cellData !== '') {
|
if (cellData !== null && cellData !== '') {
|
||||||
$(td).html(humanDuration(cellData, 'dhm', 's'));
|
$(td).html(humanDuration(cellData, 'dhm', 's', false));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"searchable": false,
|
"searchable": false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue