dude consistency lmao

master
Aevann1 2022-11-26 01:25:15 +02:00
parent bf4031c832
commit faf8e4ed2f
1 changed files with 3 additions and 4 deletions

View File

@ -324,13 +324,12 @@ function formatDate(d) {
const timestamps = document.querySelectorAll('[data-time]');
for (const e of timestamps) {
const date = new Date(e.dataset.time*1000);
e.innerHTML = formatDate(date);
e.innerHTML = formatDate(new Date(e.dataset.time*1000));
};
function timestamp(str, ti) {
const date = new Date(ti*1000);
document.getElementById(str).setAttribute("data-bs-original-title", formatDate(date));
const date = formatDate(new Date(ti*1000));
document.getElementById(str).setAttribute("data-bs-original-title", date);
};
function areyousure(t) {