mirror of
https://github.com/appen-isen/site-interpromos.git
synced 2026-03-18 21:40:36 +01:00
date
This commit is contained in:
@@ -17,7 +17,7 @@ function aspect(matchs) {
|
||||
$("#nowMatch").empty()
|
||||
|
||||
matchs.forEach(match => {
|
||||
let date = parseISOLocal(match['date'])
|
||||
let date = new Date(match['date']);
|
||||
//show next matches with a gap of 20 min
|
||||
if(date > Date.now() /*&& date < (Date.now() + 1200000)*/){
|
||||
let tname = JSON.parse(match['teams_name'])
|
||||
|
||||
Reference in New Issue
Block a user