Squad stamps dates in UTC, so team files and logs show tomorrow's date in US evenings

未关闭
#2,457 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript

调研方向

Start by reproducing the US evening date mismatch in the Claude Code end-to-end test for epic #2438, then trace how the tools and templates generate dates for team.md, member histories, session logs, and decision entries. Check whether those paths use local time or UTC, and make the human-facing dates consistent. Done when a session no longer mixes dates or shows tomorrow's date locally.

由索引模型根据 Issue 内容生成。

描述

bug

Found in the Claude Code end-to-end test for epic #2438 (fresh repo, dev build, 2026-11-10).

What happens: on a US evening (2026-11-09 local), Squad stamped team.md, member histories and the session log 2026-11-10. The coordinator noticed: "the files are stamped 2026-11-10, a day after today's date … the tools appear to use UTC time." The decision entry itself used the local date, so one session mixed both.

Why it matters: dates in team files and logs read as wrong to the user, and entries from one session can disagree.

Suggested fix: use the local date for human-facing stamps (or always UTC, with a marker), consistently across tools and templates.

主要语言
TypeScript
星标
3.4k
派生
516
平均合并
1 天 15 小时
30 天内合并 PR
116

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/squad 的其他 Issue

查看 github/squad 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。