Assistant: journal reads send no timezone offset, so completed tasks land on the UTC day
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
阅读 TaskFlowApiClient.cs 中的 GetJournalEntriesAsync 和 GetJournalTodosAsync,然后比较创建调用和添加 todo 调用发送的时区偏移量。更新两个 GET 请求,使其传递相同的偏移量,并添加一个固定该值的测试;当两个请求都包含偏移量且测试通过时,即告完成。
由索引模型根据 Issue 内容生成。
描述
Follow-up to #411 (drift list in PR #485). GET /JournalEntries and GET /JournalEntries/{id}/todos accept timezoneOffsetMinutes and use it to put a completed task on the local day it was completed, falling back to UTC when it's omitted (JournalEntriesController.cs:31, JournalTodosController.cs:26). The assistant's GetJournalEntriesAsync and GetJournalTodosAsync (TaskFlowApiClient.cs:61, 71) send no offset, although its create and add-todo calls do. So near midnight, get_journal, standup and weekly_review can put a task completed in the evening on the wrong day, and disagree with the web app.
Expected: both GETs pass the same offset the write calls use, and a test pins it. Related: spike #433 (how the timezone is passed). This fix doesn't need to wait for it. Needs grooming.
- 主要语言
- C#
- 星标
- 1
- 派生
- 0
- 平均合并
- 2 小时 43 分钟
- 30 天内合并 PR
- 116
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nevridge/TaskFlow 的其他 Issue
-
documentation
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
pipeline tech-debt
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
pipeline tech-debt
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
查看 nevridge/TaskFlow 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 67/100
dotnet/EntityFramework.Docs#5536 ·
维护者通常 1 天内回复
-
bug module
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 79/100
Tichau/FileConverter#829 ·
维护者通常 9 天内回复
-
needs triage
难度 1/5 1 小时以内 新手友好度 71/100
维护者通常 1 天内回复