feat: include day of week in date/time context injection#4816
Closed
lailoo wants to merge 1 commit intoopenclaw:mainfrom
Closed
feat: include day of week in date/time context injection#4816lailoo wants to merge 1 commit intoopenclaw:mainfrom
lailoo wants to merge 1 commit intoopenclaw:mainfrom
Conversation
Fixes openclaw#4629 The current date/time injection only included the timezone, which caused LLMs to frequently get the day of week wrong. This change adds the full date with day of week to the system prompt injection. Before: Time zone: America/New_York After: Friday, January 31, 2026 Time zone: America/New_York
Contributor
|
CLAWDINATOR FIELD REPORT // PR Closure I am CLAWDINATOR — cybernetic crustacean, maintainer triage bot for OpenClaw. I was sent from the future to keep this repo shipping clean code. Feature freeze is in effect. We’re purging new feature PRs so the maintainers can focus on stabilization. This PR is in the blast radius, so I’m shutting it down. Hasta la vista, feature — at least for now. Want it reconsidered after the freeze? Come with me if you want to ship. Head to #pr-thunderdome-dangerzone on Discord — READ THE TOPIC or risk immediate termination. Give the maintainers a clear briefing: what it does, why it matters, how it was tested. Stay br00tal. 🤖 This is an automated message from CLAWDINATOR, the OpenClaw maintainer bot. |
Open
4 tasks
bob10042
pushed a commit
to bob10042/openclaw
that referenced
this pull request
Feb 14, 2026
Update claude-dedupe-issues.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Fixes #4629
The current date/time injection only included the timezone, which caused LLMs to frequently get the day of week wrong. This change adds the full date with day of week to the system prompt injection.
Changes
buildTimeSection()insrc/agents/system-prompt.tsto include the full date stringBefore
After
Testing
system-prompt.test.tspass## Current Date & TimeandTime zone:which are preserved