diff --git a/dist/index.js b/dist/index.js index 7181be2..0768436 100644 --- a/dist/index.js +++ b/dist/index.js @@ -9514,6 +9514,7 @@ function run(context) { const vars = { vote_period_days: config_1.VOTE_PERIOD_DAYS.toString(), vote_end_date: date.toUTCString(), + vote_end_date_iso: date.toISOString(), }; yield (0, bot_1.commentToIssue)(context, template, vars); }); diff --git a/dist/vote-start.md b/dist/vote-start.md index 996913b..a648715 100644 --- a/dist/vote-start.md +++ b/dist/vote-start.md @@ -12,3 +12,5 @@ This proposal targets **v1.0**. If approved it will be merged into the `1.0-rc` {{/release_candidate}} cc @{{{ steering_committee_team }}} + + diff --git a/src/commands/voteStart.ts b/src/commands/voteStart.ts index 12f0a17..c5a1233 100644 --- a/src/commands/voteStart.ts +++ b/src/commands/voteStart.ts @@ -20,6 +20,7 @@ export default async function run(context: Context) { const vars = { vote_period_days: VOTE_PERIOD_DAYS.toString(), vote_end_date: date.toUTCString(), + vote_end_date_iso: date.toISOString(), }; await commentToIssue(context, template, vars); diff --git a/src/templates/vote-start.md b/src/templates/vote-start.md index 996913b..a648715 100644 --- a/src/templates/vote-start.md +++ b/src/templates/vote-start.md @@ -12,3 +12,5 @@ This proposal targets **v1.0**. If approved it will be merged into the `1.0-rc` {{/release_candidate}} cc @{{{ steering_committee_team }}} + +