Comparison

mod_storage_muc_log/mod_storage_muc_log.lua @ 1569:711fabfe6604

mod_storage_muc_log: Fix typo
author Kim Alvefur <zash@zash.se>
date Mon, 10 Nov 2014 15:12:57 +0100
parent 1568:c357039c1ab1
child 1753:54c8a0cb2996
comparison
equal deleted inserted replaced
1568:c357039c1ab1 1569:711fabfe6604
23 t.hour = 21; 23 t.hour = 21;
24 local pm = os_date("!%X", os.time(t)); 24 local pm = os_date("!%X", os.time(t));
25 if am == pm then 25 if am == pm then
26 module:log("warn", "Timestamps in AM and PM are identical in your locale, expect timestamps to be wrong"); 26 module:log("warn", "Timestamps in AM and PM are identical in your locale, expect timestamps to be wrong");
27 end 27 end
28 if os_date("!%X", os.time(t)) ~= os_date(timef, os_date(t)) then 28 if os_date("!%X", os.time(t)) ~= os_date(timef, os.time(t)) then
29 module:log("warn", "Timestamp format differ from what mod_muc_log used, this module may not work correctly"); 29 module:log("warn", "Timestamp format differ from what mod_muc_log used, this module may not work correctly");
30 end 30 end
31 end 31 end
32 32
33 local function parse_silly(date, time) 33 local function parse_silly(date, time)