diff --git a/plugins/contrib/patches/30-janitor.js b/plugins/contrib/patches/30-janitor.js index 55a9c196b..680b53f57 100644 --- a/plugins/contrib/patches/30-janitor.js +++ b/plugins/contrib/patches/30-janitor.js @@ -48,6 +48,7 @@ module.exports = (manifests, options, { config, utils }) => { if (resetLastPeriod) { resetDateToLastPeriodBasedOnDuration(date, duration) } + date.setTime(date.getTime() + duration) const formattedDate = date.toISOString() expires = `${formattedDate.slice(0, -5)}Z` }