forked from MarseyWorld/MarseyWorld
5 lines
278 B
JavaScript
5 lines
278 B
JavaScript
const marsified = document.getElementById('marsified').value
|
|
const marsified_date = formatDate(new Date(marsified*1000));
|
|
const marsified_text = `You're marsified until ${marsified_date}`;
|
|
document.getElementById('marsifyswitch').nextElementSibling.innerHTML += marsified_text;
|