Files
tiny-forge/web
alexei.dolgolyov 03d58a072c
Build / build (push) Successful in 10m35s
fix: treat naive backend timestamps as UTC for relative labels
Backend emits store.Now() as "2026-04-23 14:05:32" — UTC but without a
Z marker or T separator. JavaScript parses such strings as local time,
so every "N ago" label is skewed by the browser's UTC offset (3h off
in UTC+3, causing the visible mismatch with the tooltip).

Normalise bare/space-separated timestamps to UTC inside toDate() so
every $fmt.* call, including relative, matches the absolute timestamp
shown in the tooltip. InstanceCard drops its own parser and delegates
to $fmt.relative for consistency.
2026-04-23 14:39:41 +03:00
..