Comparison

mod_muc_log/mod_muc_log.lua @ 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
parent 1544:814398c7139b
comparison
equal deleted inserted replaced
1566:9158882dd9a1 1567:585bb8ac11bb
54 local bare = node .. "@" .. host; 54 local bare = node .. "@" .. host;
55 if get_room_from_jid(bare) then 55 if get_room_from_jid(bare) then
56 local room = get_room_from_jid(bare) 56 local room = get_room_from_jid(bare)
57 57
58 local today = os.date("!%y%m%d"); 58 local today = os.date("!%y%m%d");
59 local now = os.date("!%X") 59 local now = os.date("!%H:%M:%S");
60 60
61 local muc_to = nil 61 local muc_to = nil
62 local muc_from = nil; 62 local muc_from = nil;
63 local already_joined = false; 63 local already_joined = false;
64 64