[PR #6813] feat(prompt): include time in Today's date env #12128

Closed
opened 2026-02-16 18:17:03 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6813

State: closed
Merged: No


Summary

  • Adds time (HH:MM) to the Today's date field in the env block
  • Changes output from Sun Jan 04 2026 to Sun Jan 04 2026 13:45

This lets the LLM know the current time without needing to run a shell command, useful for time-sensitive context. Antigravity also shows the time and I find it very useful to not make it run time every time.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6813 **State:** closed **Merged:** No --- ## Summary - Adds time (HH:MM) to the `Today's date` field in the env block - Changes output from `Sun Jan 04 2026` to `Sun Jan 04 2026 13:45` This lets the LLM know the current time without needing to run a shell command, useful for time-sensitive context. Antigravity also shows the time and I find it very useful to not make it run time every time.
yindo added the pull-request label 2026-02-16 18:17:03 -05:00
yindo closed this issue 2026-02-16 18:17:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12128