mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 16:22:57 -07:00
Add user login table to API
This commit is contained in:
parent
be82e64add
commit
6f33d29a51
4 changed files with 95 additions and 16 deletions
|
@ -20,7 +20,7 @@ login_table_options = {
|
|||
"columnDefs": [
|
||||
{
|
||||
"targets": [0],
|
||||
"data": "timestamp",
|
||||
"data": "date",
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (cellData !== '') {
|
||||
date = moment(cellData, "X").format(date_format);
|
||||
|
@ -35,7 +35,7 @@ login_table_options = {
|
|||
},
|
||||
{
|
||||
"targets": [1],
|
||||
"data": "timestamp",
|
||||
"data": "time",
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (cellData !== '') {
|
||||
time = moment(cellData, "X").format(time_format);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue