Mercurial > prosody-modules
diff 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 |
parents | 814398c7139b |
children |
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;