computer: snapshot

This commit is contained in:
nym21
2026-02-27 12:31:39 +01:00
parent e7a5ab9450
commit 6845ad409b
10 changed files with 283 additions and 98 deletions

View File

@@ -9,6 +9,8 @@ export function periodIdToName(id, compoundAdjective) {
const num = parseInt(id);
const s = compoundAdjective || num === 1 ? "" : "s";
switch (id.slice(-1)) {
case "h":
return `${num} hour${s}`;
case "d":
return `${num} day${s}`;
case "w":