Skip to content

Commit

Permalink
fix: janitor expires
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Mar 20, 2024
1 parent b985e22 commit 45a4ada
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/contrib/patches/30-janitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
}
Expand Down

0 comments on commit 45a4ada

Please sign in to comment.