Software /
code /
verse
Diff
plugins/archive.lua @ 380:0891b4e27766
Discard trailing whitespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 01 May 2015 23:27:29 +0200 |
parent | 353:8cd05c3d0f1f |
child | 409:171c4a8cc3de |
line wrap: on
line diff
--- a/plugins/archive.lua Fri May 01 21:46:24 2015 +0200 +++ b/plugins/archive.lua Fri May 01 23:27:29 2015 +0200 @@ -27,7 +27,7 @@ local query_st = st.iq{ type="set", to = where } :tag("query", { xmlns = xmlns_mam, queryid = queryid }); - + local qstart, qend = tonumber(query_params["start"]), tonumber(query_params["end"]); query_params["start"] = qstart and datetime(qstart); query_params["end"] = qend and datetime(qend);