-
-
Notifications
You must be signed in to change notification settings - Fork 69.2k
[Bug]: System prompt missing current date/time after 66eec295b #3652
Copy link
Copy link
Closed as not planned
Description
Description
The system prompt no longer includes the current date/time, only the timezone. Agents cannot determine what day/time it is without inferring from message timestamps.
Regression
Introduced in commit 66eec295b ("perf: stabilize system prompt time") on Jan 24, 2026.
The buildTimeSection function was changed from:
function buildTimeSection(params: {
userTimezone?: string;
userTime?: string;
userTimeFormat?: ResolvedTimeFormat;
}) {
if (!params.userTimezone && !params.userTime) return [];
return [
"## Current Date & Time",
params.userTime
? `${params.userTime} (${params.userTimezone ?? "unknown"})`
: `Time zone: ${params.userTimezone}. Current time unknown; assume UTC for date/time references.`,
params.userTimeFormat
? `Time format: ${params.userTimeFormat === "24" ? "24-hour" : "12-hour"}`
: "",
"",
];
}To:
function buildTimeSection(params: { userTimezone?: string }) {
if (!params.userTimezone) return [];
return ["## Current Date & Time", `Time zone: ${params.userTimezone}`, ""];
}The userTime and userTimeFormat parameters were removed entirely.
Current behavior
System prompt shows:
## Current Date & Time
Time zone: America/Chicago
Expected behavior
System prompt should show:
## Current Date & Time
Tuesday, January 28, 2026 at 6:15 PM (America/Chicago)
Time format: 12-hour
Impact
- Agents cannot determine the current date/time
- Scheduling, reminders, and time-sensitive tasks are affected
- Agents must infer time from message timestamps (unreliable)
Version
Clawdbot 2026.1.23 (post-66eec295b)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.