Mercurial > prosody-modules
changeset 1556:0b80a02c2e3d
mod_http_muc_log: Search for next date with messages from 00:00:00, not 00:00:01
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 09 Nov 2014 08:40:05 +0100 |
parents | 2e51f70cd7ea |
children | 876af57a3983 |
files | mod_http_muc_log/mod_http_muc_log.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua Sun Nov 09 08:38:57 2014 +0100 +++ b/mod_http_muc_log/mod_http_muc_log.lua Sun Nov 09 08:40:05 2014 +0100 @@ -270,7 +270,7 @@ module:log("debug", "Find next date with messages"); for key, message, when in archive:find(room, { - ["start"] = datetime.parse(date.."T00:00:00Z") + 86401; + ["start"] = datetime.parse(date.."T00:00:00Z") + 86400; limit = math.huge; }) do next_when = when;