File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ local Comparator = Condition.Comparator
3131local BooleanOperator = Condition .BooleanOperator
3232local ColumnName = Condition .ColumnName
3333
34- local SECONDS_PER_DAY = DateExt .daysToSeconds (1 )
35-
3634local _today = os.date (' !%Y-%m-%d' , os.time ())
3735
3836-- Default settings
@@ -216,9 +214,9 @@ function TournamentsSummaryTable.dateConditions(type)
216214
217215 local currentTime = os.time ()
218216 local upcomingThreshold = os.date (' !%Y-%m-%d' , currentTime
219- + TournamentsSummaryTable .upcomingOffset * SECONDS_PER_DAY )
217+ + DateExt . daysToSeconds ( TournamentsSummaryTable .upcomingOffset ) )
220218 local completedThreshold = os.date (' !%Y-%m-%d' , currentTime
221- - TournamentsSummaryTable .completedOffset * SECONDS_PER_DAY )
219+ - DateExt . daysToSeconds ( TournamentsSummaryTable .completedOffset ) )
222220
223221 if type == TournamentsSummaryTable .upcomingType then
224222 conditions
You can’t perform that action at this time.
0 commit comments