Node.js based forum software built for the modern web
change from/to
Barış Soner Uşaklı9ac52dbf5f7f
diff --git a/src/events.js b/src/events.jsindex 09c9062ae8..53f1e160ac 100644--- a/src/events.js+++ b/src/events.js@@ -101,10 +101,10 @@ events.log = async function (data) {events.getEvents = async function (filter, start, stop, from, to) {// from/to optionalif (from === undefined) {- from = 0;+ from = '-inf';}if (to === undefined) {- to = Date.now();+ to = '+inf';}const eids = await db.getSortedSetRevRangeByScore(`events:time${filter ? `:${filter}` : ''}`, start, stop - start + 1, to, from);