mirror of
https://github.com/hexahigh/080609.git
synced 2025-12-11 19:55:06 +01:00
update text
This commit is contained in:
parent
7dd65d45d5
commit
16bfccdac1
6
index.js
6
index.js
@ -9,9 +9,9 @@ function calculateYearsSince() {
|
||||
//const hours = Math.floor((diffInMs % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
//const minutes = Math.floor((diffInMs % (1000 * 60 * 60)) / (1000 * 60));
|
||||
|
||||
document.getElementById("ageYears").innerText = Math.floor(diffInYears) + " years"
|
||||
document.getElementById("ageDays").innerText = days + " days"
|
||||
document.getElementById("ageHours").innerText = hours + " hours"
|
||||
document.getElementById("ageYears").innerText = Math.floor(diffInYears) + " years,"
|
||||
document.getElementById("ageDays").innerText = days + " days,"
|
||||
document.getElementById("ageHours").innerText = hours + " hours and"
|
||||
document.getElementById("ageMinutes").innerText = minutes + " minutes"
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user