Diff

mod_http_muc_log/http_muc_log.html @ 1915:5e65c91c07c4

mod_http_muc_log: Produce local timestamps in local format
author Kim Alvefur <zash@zash.se>
date Tue, 20 Oct 2015 14:37:46 +0200
parent 1751:3f3a5daf31cc
child 2083:fed0a71a5e68
line wrap: on
line diff
--- 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());
 }
 }