Skip to content

purge_page_groups: make 'months ago' cutoff the middle of the month - #395

Closed
SashaAnastasi wants to merge 1 commit into
catalyst:TOTARA_19from
SashaAnastasi:TOTARA_19-leapday
Closed

purge_page_groups: make 'months ago' cutoff the middle of the month#395
SashaAnastasi wants to merge 1 commit into
catalyst:TOTARA_19from
SashaAnastasi:TOTARA_19-leapday

Conversation

@SashaAnastasi

Copy link
Copy Markdown

Resolves month-rollover issue where previous months have fewer days.

Currently tool_excimer_purge_page_group_test fails on

  • the 29th of March-September, unless it's a leap year;
  • the 30th of March-September
  • the 31st of every month that has a 31st

This is due to documented behaviour of the php core function strtotime.

resolves month-rollover issue where previous months have fewer days
@bwalkerl bwalkerl closed this Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants