Narrowing the redownloads of reactions down.

This commit is contained in:
Vitor Pamplona
2023-11-20 18:58:25 -05:00
parent 5a9d6929e5
commit 9acad8b3f5
5 changed files with 15 additions and 3 deletions
@@ -11,6 +11,7 @@ object TimeUtils {
const val oneWeek = 7 * oneDay
fun now() = System.currentTimeMillis() / 1000
fun oneMinuteAgo() = now() - oneMinute
fun fiveMinutesAgo() = now() - fiveMinutes
fun oneHourAgo() = now() - oneHour
fun oneHourAhead() = now() + oneHour