Skip to content

Commit 43e4b93

Browse files
committed
kick magic number
1 parent afab49a commit 43e4b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/wikis/commons/MainPageLayout.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function MainPageLayout._makeInMemoryOfDisplay()
9595
conditions = tostring(ConditionTree(BooleanOperator.all):add{
9696
ConditionNode(ColumnName('deathdate'), Comparator.neq, DateExt.defaultDate),
9797
ConditionNode(ColumnName('deathdate'), Comparator.ge, DateExt.toYmdInUtc(
98-
DateExt.getCurrentTimestamp() - 1209600 --[[2 weeks]]
98+
DateExt.getCurrentTimestamp() - DateExt.daysToSeconds(14)
9999
))
100100
}),
101101
query = 'pagename'

0 commit comments

Comments
 (0)