Skip to content

feat: human-readable message date formatting#997

Closed
tyler6204 wants to merge 1 commit into
openclaw:mainfrom
tyler6204:feat/human-readable-message-dates
Closed

feat: human-readable message date formatting#997
tyler6204 wants to merge 1 commit into
openclaw:mainfrom
tyler6204:feat/human-readable-message-dates

Conversation

@tyler6204

Copy link
Copy Markdown
Contributor

Summary

  • Replace ISO timestamps (e.g., 2026-01-16T04:52Z) with human-readable format (e.g., Thursday, January 16, 2026 at 4:52 AM PST) in message context headers
  • Uses host timezone automatically via resolveUserTimezone()
  • Add formatEnvelopeTimestamp() utility in date-time.ts

Test plan

  • Unit tests for formatEnvelopeTimestamp() added
  • Existing envelope tests updated
  • All 3331 tests passing
  • Lint and build passing

🤖 Generated with Claude Code

Note

This PR needs AI review

Replace ISO timestamps (e.g., 2026-01-16T04:52Z) with human-readable
format (e.g., Thursday, January 16, 2026 at 4:52 AM PST) in message
context headers.

- Add formatEnvelopeTimestamp() in date-time.ts using host timezone
- Update envelope.ts to use new formatter
- Add tests for the new formatter
- Update existing tests to use flexible regex patterns for timezone

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@steipete

Copy link
Copy Markdown
Contributor

Hey. I just changed this to ISO. Can we discuss before you send a PR with no reasoning?

@tyler6204 tyler6204 closed this Jan 16, 2026
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.

2 participants