Skip to content

Heartbeat: Use ISO 8601 for Current time and separate trigger timestamp #55935

@TommoT2

Description

@TommoT2

Problem

The heartbeat prompt includes a Current time line that uses a locale-dependent format:

Current time: Friday, March 27th, 2026 — 04:00 (Europe/Oslo) / 2026-03-27 03:00 UTC

This has two issues:

  1. Inconsistent formatting — Does not follow ISO 8601, the international standard for date/time exchange.
  2. AmbiguityCurrent time reflects when the heartbeat fired, not when the agent actually processes it.

Request

  • Change Current time to ISO 8601 (e.g. 2026-03-27T04:00:00+01:00).
  • Optionally add a separate Heartbeat triggered at field.

Suggested format

Current time: 2026-03-27T18:22:00+01:00
Heartbeat triggered at: 2026-03-27T04:00:00+01:00

This gives agents accurate time context while preserving the heartbeat trigger timestamp for debugging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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