mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-11 22:21:58 +00:00
The event log read the clock through std::time::SystemTime and Instant, which panic on wasm32-unknown-unknown ("time not implemented on this platform"). Every mutating comment.* command appends an event, so the first comment posted in the web build hit it. The log now takes SystemTime, UNIX_EPOCH and Instant from web_time, as the rest of the engine does. A test checks the stamp is a current Unix time read through the same clock.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>