# HG changeset patch # User Kim Alvefur # Date 1415518805 -3600 # Node ID 0b80a02c2e3de55b2f767bd941c4bf29ca851154 # Parent 2e51f70cd7ea7093ab125c7af36c3be4146e28c3 mod_http_muc_log: Search for next date with messages from 00:00:00, not 00:00:01 diff -r 2e51f70cd7ea -r 0b80a02c2e3d mod_http_muc_log/mod_http_muc_log.lua --- 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;