# HG changeset patch # User Kim Alvefur # Date 1445344666 -7200 # Node ID 5e65c91c07c446d19ec9a8a5436d8d92160c723d # Parent b01d60dfa40572ab14e06ee573dc4cf6d97c05a5 mod_http_muc_log: Produce local timestamps in local format diff -r b01d60dfa405 -r 5e65c91c07c4 mod_http_muc_log/http_muc_log.html --- a/mod_http_muc_log/http_muc_log.html Mon Oct 19 17:08:45 2015 +0200 +++ b/mod_http_muc_log/http_muc_log.html Tue Oct 20 14:37:46 2015 +0200 @@ -94,7 +94,7 @@ tag = timeTags[i++]; if(date = tag.getAttribute("datetime")) { date = new Date(date); -tag.textContent = date.toLocaleTimeString(); +tag.textContent = date.toLocaleTimeString(navigator.language); tag.setAttribute("title", date.toString()); } }