skilld 0.6.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -246,7 +246,8 @@ function generateIssueIndex(issues) {
246
246
  for (const issue of group) {
247
247
  const reactions = issue.reactions > 0 ? ` (+${issue.reactions})` : "";
248
248
  const state = issue.state === "open" ? "" : " [closed]";
249
- sections.push(`- [#${issue.number}](./issue-${issue.number}.md): ${issue.title}${reactions}${state}`);
249
+ const date = isoDate(issue.createdAt);
250
+ sections.push(`- [#${issue.number}](./issue-${issue.number}.md): ${issue.title}${reactions}${state} (${date})`);
250
251
  }
251
252
  sections.push("");
252
253
  }
@@ -708,7 +709,8 @@ function generateDiscussionIndex(discussions) {
708
709
  for (const d of group) {
709
710
  const upvotes = d.upvoteCount > 0 ? ` (+${d.upvoteCount})` : "";
710
711
  const answered = d.answer ? " [answered]" : "";
711
- sections.push(`- [#${d.number}](./discussion-${d.number}.md): ${d.title}${upvotes}${answered}`);
712
+ const date = isoDate(d.createdAt);
713
+ sections.push(`- [#${d.number}](./discussion-${d.number}.md): ${d.title}${upvotes}${answered} (${date})`);
712
714
  }
713
715
  sections.push("");
714
716
  }