diff --git a/dist/index.js b/dist/index.js index 9626097c..dc222507 100644 --- a/dist/index.js +++ b/dist/index.js @@ -140964,6 +140964,9 @@ function summaryMarkdown(library, date, bookStatus) { return `# Updated library ${capitalize(`${bookStatus}`)}: “${BookTitle}” +Date: ${date} +Book status: ${bookStatus} +Result: ${bookStatus === "finished" && date} ${bookStatus === "finished" && date ? yearReviewSummary(library, date.slice(0, 4)) : ""} diff --git a/src/summary.ts b/src/summary.ts index 7df85305..87c58444 100644 --- a/src/summary.ts +++ b/src/summary.ts @@ -20,6 +20,9 @@ export function summaryMarkdown( return `# Updated library ${capitalize(`${bookStatus}`)}: “${BookTitle}” +Date: ${date} +Book status: ${bookStatus} +Result: ${bookStatus === "finished" && date} ${ bookStatus === "finished" && date ? yearReviewSummary(library, date.slice(0, 4))