#5112 - New leader-boards generating a week in advance if rolling and set to week period

  • By
  • Added
  • 2 views
Identifier #5112
Issue type Minor issue (breaks specific functionality)
Title New leader-boards generating a week in advance if rolling and set to week period
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description New leader-boards are generating up to a week in advance if rolling, set to week period, and do not have any results currently.
Steps to reproduce

Additional information * Leader-boards rely on most recent result set to determine when they were last generated
* For some reason, strtotime is not properly subtracting week numbers for the "week" period, therefore adding a rolling "or" bypass (for determining when not to generate a leader-board) does not / will not work either until this is resolved.
* Furthermore to the above, since strtotime is not properly subtracting, generating an immediate leader-board results in up to one week in the future opposed to last week. So that also does not work.
* Somehow, unit test is not picking up on this; fix the unit test as well.
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated