hourssss
This commit is contained in:
@@ -151,7 +151,7 @@
|
|||||||
const hours = hoursUntil(d);
|
const hours = hoursUntil(d);
|
||||||
|
|
||||||
if (hours > 24) timeText.innerHTML = `<span class="c">${daysUntil(d)} DAY(S)</span> <span class="t">REMAINING</span>`;
|
if (hours > 24) timeText.innerHTML = `<span class="c">${daysUntil(d)} DAY(S)</span> <span class="t">REMAINING</span>`;
|
||||||
else if (hours > 0) timeText.innerHTML = `<span class="c">${hours} HOURS(S)</span> <span class="t">REMAINING</span>`;
|
else if (hours > 0) timeText.innerHTML = `<span class="c">${hours} HOUR(S)</span> <span class="t">REMAINING</span>`;
|
||||||
else if (hours > -3) timeText.innerHTML = "RIGHT NOW";
|
else if (hours > -3) timeText.innerHTML = "RIGHT NOW";
|
||||||
else timeText.innerText = "FINISHED";
|
else timeText.innerText = "FINISHED";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user