update
This commit is contained in:
parent
fff4ce7441
commit
7124182102
@ -190,7 +190,7 @@ function loadValues()
|
|||||||
let last = 0;
|
let last = 0;
|
||||||
for(let i = 0; i < data.length; i++)
|
for(let i = 0; i < data.length; i++)
|
||||||
{
|
{
|
||||||
if(last + 1000 * 60 * 15 < new Date(data[i].createdAt).getTime() )
|
if(!(last + 900000 > new Date(data[i].createdAt).getTime()) )
|
||||||
newData.push(data[i]);
|
newData.push(data[i]);
|
||||||
last = new Date(data[i].createdAt).getTime();
|
last = new Date(data[i].createdAt).getTime();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user