Skip to content

Commit 21c7200

Browse files
committed
use relative time
1 parent ba15890 commit 21c7200

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/bounty.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
const shouldReserve = isPreviousContributor && (actor !== issueOwner);
4747
4848
const lines = [];
49-
lines.push(`💰 **This issue has a bounty.**`);
49+
lines.push(`# 💰 This issue has a bounty`);
5050
lines.push(`Resolve it to receive a reward.`);
5151
lines.push(`For details (amount, rules, eligibility), see: ${forumUrl}`);
5252
lines.push("");
@@ -61,7 +61,8 @@ jobs:
6161
6262
lines.push(
6363
`<sub>` +
64-
`⏳ **Temporary reservation for @${issueOwner}:** since they are a previous contributor, they have priority for this bounty for **${reserveHours} hours** ` +
64+
`⏳ **Temporary reservation for @${issueOwner}:** since they are a previous contributor, they have priority for this bounty ` +
65+
`for <relative-time datetime="${reservedUntilIso}"></relative-time> ` +
6566
`(until **${reservedUntilIso}**). After that, it is **open to everyone**.` +
6667
`</sub>`
6768
);

0 commit comments

Comments
 (0)