forked from nutomic/joinpeertube
Fin de campagne le 04/08
This commit is contained in:
parent
59930ef3c5
commit
b7ab05dec2
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ $(
|
||||||
}, 500);
|
}, 500);
|
||||||
});
|
});
|
||||||
|
|
||||||
const end = new Date('07/08/2018 11:59 PM');
|
const end = new Date('04/08/2018 11:59 PM');
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
const days = (end - now < 0) ? 0 : Math.floor((end - now) / 86400000); // 24*60*60*1000
|
const days = (end - now < 0) ? 0 : Math.floor((end - now) / 86400000); // 24*60*60*1000
|
||||||
document.getElementById('kkbbDays').innerHTML = days;
|
document.getElementById('kkbbDays').innerHTML = days;
|
||||||
|
|
Loading…
Reference in a new issue