mirror of
https://github.com/obra/episodic-memory.git
synced 2026-09-14 13:43:14 +08:00
7e06519357
formatConversationAsMarkdown renders timestamps with
toLocaleString('en-US', { timeZone: 'UTC' }) (#120, #130), but the test still
built its expectation with a bare toLocaleString(), so the expectation depends
on the host locale and timezone while the formatter's output does not. The
suite passes on en-US/UTC CI runners and fails for anyone running it locally
outside that setup (Europe/Warsaw: expected "9/19/2025, 7:34:29 PM", got
"9/19/2025, 5:34:29 PM"; de-DE on UTC also fails).
Format the expectation the same way the code does. Verified passing under
Europe/Warsaw, America/New_York and UTC, including LC_ALL=de_DE.UTF-8.
Claude-Session: https://claude.ai/code/session_01L7qt58cTm5rFNfV38EQfEN
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>