# HG changeset patch # User Kim Alvefur # Date 1494181409 -7200 # Node ID 2bda04a7b4d47cb31f79fcd52fb7e1d125ec2ff7 # Parent 4119cca64064517ed289c116703423fece27e32c mod_mam: Format timestamps in log message diff -r 4119cca64064 -r 2bda04a7b4d4 plugins/mod_mam/mod_mam.lua --- a/plugins/mod_mam/mod_mam.lua Sun May 07 16:31:48 2017 +0200 +++ b/plugins/mod_mam/mod_mam.lua Sun May 07 20:23:29 2017 +0200 @@ -123,7 +123,9 @@ end module:log("debug", "Archive query, id %s with %s from %s until %s)", - tostring(qid), qwith or "anyone", qstart or "the dawn of time", qend or "now"); + tostring(qid), qwith or "anyone", + qstart and timestamp(qstart) or "the dawn of time", + qend and timestamp(qend) or "now"); -- RSM stuff local qset = rsm.get(query);