Skip to content

template-vars: relative timestamps ({{now -1h}}) #60

Description

@HumanBean17

Follow-up to PR #56 (template variables).

Today: {{ts}}/{{ts:ms}}/{{ts:iso}} produce the current instant only.

Proposal: support relative timestamps like {{now -1h}} for SLA/window tests (e.g. asserting an event happened in the last hour). Not required for the original use cases in #55, but flagged as useful.

Deferred per the design spec §16.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions