Software /
code /
prosody-modules
File
mod_http_muc_log/static/timestamps.js @ 6185:c887820cd884
Check both localpart and host
In case sending a message to someone with same username as you
author | Stephen Paul Weber <singpolyma@singpolyma.net> |
---|---|
date | Mon, 03 Feb 2025 17:04:23 -0500 (7 weeks ago) |
parent | 5118:7bce75e74f86 |
line wrap: on
line source
/* * Local timestamps */ (function () { var timeTags = document.getElementsByTagName("time"); var i = 0, tag, date; while(timeTags[i]) { tag = timeTags[i++]; if(date = tag.getAttribute("datetime")) { date = new Date(date); tag.textContent = date.toLocaleTimeString(navigator.language); tag.setAttribute("title", date.toString()); } } if(document.forms.length>0){ document.forms[0].elements.p.addEventListener("change", function() { document.forms[0].submit(); }); } })();