wip(mobile): checkpoint polish round in progress

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VVYRAqiQj9Y1V9ZfG1RcDH
This commit is contained in:
Claude committed 2026-10-23 09:59:48 +00:00
1 parent 4e1e838771
commit 90b962745e
29 files changed
+9600 -205

No files matched your search

+17 -3
View File
@@ -155,14 +155,28 @@ export function createFeed(
const hd = $('[data-utc]', view);
if (hd) hd.textContent = u;
const dt = $('[data-date]', view);
if (dt)
dt.textContent = now
if (dt) {
// The kicker greets the hour: what the planet is doing for you now.
const hr = now.getHours();
const greet =
hr < 5
? 'Up late'
: hr < 12
? 'Good morning'
: hr < 17
? 'Good afternoon'
: hr < 22
? 'Good evening'
: 'Tonight';
const txt = `${now
.toLocaleDateString('en-GB', {
weekday: 'long',
day: 'numeric',
month: 'long',
})
.toUpperCase();
.toUpperCase()} · ${greet.toUpperCase()}`;
if (dt.textContent !== txt) dt.textContent = txt;
}
const lt = $('[data-localtime]', view);
if (lt) {
const txt = now.toLocaleTimeString('en-US', {