Skip to content

Include day of week in system prompt date/time injection #9899

@coloredmetalproducts

Description

@coloredmetalproducts

Problem

The system prompt includes the timezone but not the full date with day of week. This leads to agents frequently getting the day of week wrong when doing calendar/schedule lookups.

Current:

## Current Date & Time
Time zone: America/New_York

Proposed

Include the full formatted date with day of week:

## Current Date & Time
Thursday, February 5, 2026 4:01 PM EST (America/New_York)

Or at minimum:

## Current Date & Time
Thursday, 2026-02-05 16:01 EST (America/New_York)

Why

  • Agents (especially Claude) have unreliable mental calendar math
  • The day of week is important for schedule context (e.g., "Tuesday is Marketing Day")
  • Running date at the start of every session is a workaround but adds latency and token cost

This should be a simple addition to the runtime info injection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleMarked as stale due to inactivity

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions