diff options
Diffstat (limited to 'src/app/js')
-rw-r--r-- | src/app/js/launcher.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/app/js/launcher.js b/src/app/js/launcher.js index c1901f3..98f16dc 100644 --- a/src/app/js/launcher.js +++ b/src/app/js/launcher.js @@ -31,7 +31,19 @@ function formatRelease(notes) { } else { for (let release of notes) { if (release.prerelease) {continue} - let new_content = "# " + release.name + "\n\n" + release.body + "\n\n\n"; + let new_content = + // release date + new Date(release.published_at).toLocaleString() + + "\n" + + + // release name + `# ${release.name}` + + "\n\n" + + + // actual release text/body + release.body + + "\n\n\n"; + content += "<div class='release-block'>\n" + markdown(new_content, {breaks: true}) + "\n" + |