mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Write stopped time to database for all events
* To prevent the "long duration" websocket issue for missing stop events
This commit is contained in:
parent
a81dfe83a9
commit
1c8e581cf1
4 changed files with 11 additions and 8 deletions
|
@ -203,7 +203,7 @@ history_table_options = {
|
|||
"targets": [9],
|
||||
"data":"stopped",
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (cellData === null) {
|
||||
if (cellData === null || rowData['state'] != null) {
|
||||
$(td).html('n/a');
|
||||
} else {
|
||||
$(td).html(moment(cellData,"X").format(time_format));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue