Granularity issue with "Delete revisions after a specific amount of time."

Created on 10 June 2025, about 1 month ago

Node revisions seem to be deleted based on a granularity of month, rather than the exact date.

I enabled the module and configured all revisions for all nodes older than 12 months to be deleted.

In my case I have a test node with a few hundred revisions.
Several revisions were timestamped at the 24th of June 2024.
The ones older are from the 28th of September 2023 and older.
The ones newer are from the 14th of October 2024 and newer.

I ran the batch delete operation today, on the 10th of June 2025.

I expected the revisions of the 26th of June 2024 to still be there and all the older ones to be deleted.

What I actually saw was that the revision of the 26th of June 2024 were also deleted.

It seems like the dat comparison's granularity is set to month, instead of exact date matching.
Am I correct in this assumption, or is something else going wrong in my instance?

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium weseze

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024