This commit is contained in:
Pieter Vander Vennet 2023-02-01 15:05:51 +01:00
parent d100edd598
commit 59c7e47f49

View file

@ -92,7 +92,8 @@ export class Main {
} }
console.log("Building post...") console.log("Building post...")
await new Postbuilder(action, this._config, poster, changesets).buildMessage(today.getUTCFullYear() + "-" + Utils.TwoDigits(today.getUTCMonth() + 1) + "-" + Utils.TwoDigits(today.getUTCDate() - 1)) const yesterday = new Date(today.getTime() - 24 * 60 * 60 * 1000)
await new Postbuilder(action, this._config, poster, changesets).buildMessage(yesterday.getUTCFullYear() + "-" + Utils.TwoDigits(yesterday.getUTCMonth() + 1) + "-" + Utils.TwoDigits(yesterday.getUTCDate()))
} }