Skip to content

fix: format Claude prompt time in UTC - #116

Open
vycdev2 wants to merge 1 commit into
vycdev:mainfrom
vycdev2:fix/prompt-time-utc
Open

fix: format Claude prompt time in UTC#116
vycdev2 wants to merge 1 commit into
vycdev:mainfrom
vycdev2:fix/prompt-time-utc

Conversation

@vycdev2

@vycdev2 vycdev2 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • format the current-time context in Claude response prompts explicitly in UTC
  • add a regression test that runs under a non-UTC host timezone
  • document the user-visible consistency fix in the changelog

Verification

  • npm run build — passed
  • npm test — passed (110 tests)
  • node --test /opt/data/claudify/tests/promptTime.test.mjs from /tmp — passed
  • regression test copied to untouched upstream/main — failed as expected with a PDT prompt timestamp
  • git diff --check upstream/main...HEAD — passed

Risk

  • Low: this only makes an existing prompt timestamp deterministic and aligns it with Claudify’s UTC history and live-context timestamps.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant