Skip to content

Conversation

@ElectricalBoy
Copy link
Collaborator

@ElectricalBoy ElectricalBoy commented Jan 2, 2026

Summary

Depends on #6946

This PR automates use of #5569 in main pages.

How did you test this change?

https://liquipedia.net/leagueoflegends/User:ElectricalBoy/MainPage (dev uses 4 week offset for testing purposes instead of 2 weeks as specified in this PR)

Copy link
Collaborator

@hjpalpha hjpalpha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fwiw when rolling this out we need to check if there is some usage of the current inmemory stuff so we do not double display banners

conditions = tostring(ConditionTree(BooleanOperator.all):add{
ConditionNode(ColumnName('deathdate'), Comparator.neq, DateExt.defaultDate),
ConditionNode(ColumnName('deathdate'), Comparator.ge, DateExt.toYmdInUtc(
DateExt.getCurrentTimestamp() - 1209600 --[[2 weeks]]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move the number into a const var

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ElectricalBoy ElectricalBoy force-pushed the mainpage-automate-in-memory-of branch from 4da64fb to 43e4b93 Compare January 2, 2026 06:32
@ElectricalBoy ElectricalBoy requested a review from hjpalpha January 2, 2026 06:33
@ElectricalBoy ElectricalBoy changed the base branch from main to days-to-seconds January 2, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants