Changeset

1567:585bb8ac11bb

mod_muc_log: Change to a non-locale dependent timestamp format
author Kim Alvefur <zash@zash.se>
date Mon, 10 Nov 2014 14:47:54 +0100
parents 1566:9158882dd9a1
children 1568:c357039c1ab1
files mod_muc_log/mod_muc_log.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_log/mod_muc_log.lua	Mon Nov 10 14:41:01 2014 +0100
+++ b/mod_muc_log/mod_muc_log.lua	Mon Nov 10 14:47:54 2014 +0100
@@ -56,7 +56,7 @@
 				local room = get_room_from_jid(bare)
 
 				local today = os.date("!%y%m%d");
-				local now = os.date("!%X")
+				local now = os.date("!%H:%M:%S");
 
 				local muc_to = nil
 				local muc_from = nil;