fix: use server-computed endsAt for exploration timer to prevent clock drift #68

Merged
naomi merged 1 commits from fix/exploration-timer-drift into main 2026-03-18 17:09:48 -07:00

1 Commits

Author SHA1 Message Date
hikari 53eaebd7d8 fix: use server-computed endsAt for exploration timer to prevent clock drift
CI / Lint, Build & Test (pull_request) Successful in 1m10s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m10s
Exploration timers were showing more time than the area's stated duration
when the server clock was ahead of the client clock. The timer now uses
the server-provided endsAt timestamp directly instead of deriving startedAt
from it, making countdowns immune to client/server clock skew. Old saves
without endsAt fall back to the previous startedAt-based calculation.

Closes #53
2026-03-18 16:46:49 -07:00