Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: calendar current-time indicator now updates live without page reload
Adam Eivyad842212f986
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 9d77324108..f3e2dfd23d 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -22,6 +22,7 @@- Alcohol page summary compressed into a single compact stat bar row to maximize above-the-fold content## Fixed+- Calendar day view current-time red line now updates every 60 seconds instead of only on page load- Stokes Pick default nicotine amount corrected from 3mg to 5mg- UTC timezone shift showing tomorrow's date in alcohol/nicotine forms — replaced `toISOString()` with local `localDateStr()` utility- Server-side rolling averages and summary use local dates instead of UTC — fixes today showing 0mg despite logged entriesdiff --git a/client/src/components/calendar/DayView.jsx b/client/src/components/calendar/DayView.jsxindex 12184d8549..ca02af5277 100644--- a/client/src/components/calendar/DayView.jsx+++ b/client/src/components/calendar/DayView.jsx@@ -143,8 +143,12 @@ export default function DayView({ accounts }) {const layout = useMemo(() => layoutEvents(timedEvents), [timedEvents]);const colorMap = useMemo(() => buildSubcalendarColorMap(accounts), [accounts]);- // Current time indicator- const now = new Date();+ // Current time indicator — update every 60s so the red line moves+ const [now, setNow] = useState(() => new Date());+ useEffect(() => {+ const id = setInterval(() => setNow(new Date()), 60_000);+ return () => clearInterval(id);+ }, []);const isToday = date.toDateString() === now.toDateString();const nowMinutes = now.getHours() * 60 + now.getMinutes();const nowTop = ((nowMinutes - START_MINUTES) / 60) * PX_PER_HOUR;