feat(dailies): offer a game's built-in weekly tasks, and show them once on
The strip asks once, in one line, about a game on screen that has built-ins. Yes puts them beside its dailies, drawn and counted like the reader's own tasks, with a tooltip giving the source's date. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bfd79c295e
commit
228ce9132d
4 files changed
+136
-12
No files matched your search
@@ -95,3 +95,11 @@ export function routineToAsk(
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
const MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
||||
|
||||
/** `2025-12-02` → `2 Dec 2025`: the same in every locale, so it reads the same wherever it is quoted. */
|
||||
export function asOfLabel(day: string): string {
|
||||
const [y, m, d] = day.split("-").map(Number);
|
||||
return `${d} ${MONTHS[(m ?? 1) - 1]} ${y}`;
|
||||
}
|
||||
Reference in new issue
Block a user