diff --git a/changelog.json b/changelog.json index ca837b7..74c8133 100644 --- a/changelog.json +++ b/changelog.json @@ -1,4 +1,11 @@ [ + { + "dt": "2024-12-22", + "version": "client-1.7.5", + "notes": [ + "make small cosmetic changes to changelog subheader" + ] + }, { "dt": "2024-12-21", "version": "client-1.7.4", diff --git a/js/changelog.js b/js/changelog.js index 463c2ff..e703ca1 100644 --- a/js/changelog.js +++ b/js/changelog.js @@ -19,16 +19,16 @@ async function renderDatalog() { const d = new Date(); const freshness = calculateFreshness(latest, d.toISOString()); const syncTitle = `last data sync\n• ${convertToEasternTime(latest)}`; - document.getElementById("releasenotes").innerHTML += ` • ${freshness}`; + document.getElementById("releasenotes").innerHTML += `  ∾  ${freshness}`; } async function renderServerChangelog() { const ss = await fetch("https://r002.github.io/server/changelog.json"); const serverNotes = await ss.json(); const s = serverNotes[0]; // get the latest server release notes - const serverBuildTitle = `build ${s.version}\n${s.notes.map(note=>`• ${note}`).join("\n")}`; + const serverBuildTitle = `${s.version} ≋ ${s.dt}\n${s.notes.map(note=>`• ${note}`).join("\n")}`; - document.getElementById("releasenotes").innerHTML += ` • ${s.version} • ${s.dt}`; + document.getElementById("releasenotes").innerHTML += `  ∾  ${s.version}`; } async function renderClientChangelog() { @@ -39,8 +39,8 @@ async function renderClientChangelog() { if (r.bugs) { bugs = `\n\nbugs:\n${r.bugs?.map(bug=>`• ${bug}`).join("\n")}`; } - const clientBuildTitle = `build ${r.version}\n${r.notes.map(note=>`• ${note}`).join("\n")}${bugs}`; - document.getElementById("releasenotes").innerHTML = `${r.version} • ${r.dt}`; + const clientBuildTitle = `${r.version} ≋ ${r.dt}\n${r.notes.map(note=>`• ${note}`).join("\n")}${bugs}`; + document.getElementById("releasenotes").innerHTML = `${r.version}`; } function convertToEasternTime(utcDateStr) {