[BUG] USE DATETIME when Claude Code does Web Search

Resolved 💬 5 comments Opened Jun 6, 2025 by pathakmukul Closed Jan 4, 2026

Environment

  • Platform (select one):
  • [ ] Claude Code Max Acc
  • Claude CLI version: ⏺ Claude Code version 1.0.17
  • Operating System: macOS 15.5 (24F74)
  • Terminal: <Cursor IDE Terminal

Bug Description

Claude Code's Web Search query: "how to get Apple shared secret App Store Connect in-app purchase 2024" includes the outdated year "2024." The query should reflect the current year, 2025, or be more general if the information isn't year-specific.

<img width="681" alt="Image" src="https://github.com/user-attachments/assets/1c5b9ff3-2553-43d3-bc90-b3b0d505e697" />

Steps to Reproduce

Asked Claude Code to help find the Apple Shared Secret in App Store Connect.

Expected Behavior

Web Search query should have used the current year (2025) or no specific year, if the information is not year-dependent.

Actual Behavior

Claude's web search query included "2024", an outdated year.

Additional Context

Use of DATETIME while running such queries related to packages/processes would yield better results. Alternate option would be to Prompt Claude to write a variable instead of datetime related content, and replace it post response before sending the web query.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗