Software /
code /
prosody-modules
Comparison
mod_http_muc_log/mod_http_muc_log.lua @ 2838:5125e187768f
mod_http_muc_log: Remove this one weird whitespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 18 Nov 2017 20:42:18 +0100 |
parent | 2837:bd5eb429ebab |
child | 2839:7738d7158dd0 |
comparison
equal
deleted
inserted
replaced
2837:bd5eb429ebab | 2838:5125e187768f |
---|---|
105 local last_day = find_once(room, { reverse = true }, 3); | 105 local last_day = find_once(room, { reverse = true }, 3); |
106 first_day = date_floor(first_day); | 106 first_day = date_floor(first_day); |
107 last_day = date_floor(last_day); | 107 last_day = date_floor(last_day); |
108 for when = first_day, last_day, 86400 do | 108 for when = first_day, last_day, 86400 do |
109 local t = os_date("!*t", when); | 109 local t = os_date("!*t", when); |
110 dates:set(t.year, t.month, t.day, when ); | 110 dates:set(t.year, t.month, t.day, when); |
111 end | 111 end |
112 else | 112 else |
113 -- Collect date the hard way | 113 -- Collect date the hard way |
114 module:log("debug", "Find all dates with messages"); | 114 module:log("debug", "Find all dates with messages"); |
115 local next_day; | 115 local next_day; |