DataStore.calendarNoteByDate(..., 'quarter') returns wrong quarter
@EduardMe 已经在做这个了。
开始于 2024年1月27日。
评估
这个 Issue 还没有评估数据。
描述
From manual checks, DataStore.calendarNoteByDate(today, 'quarter') returns wrong note on last day of quarter.
I've done some eye-ball checks from the extra logs, as you requested, @EduardMe.
So far these appear to have problems:
JSLog: [calendarNoteByDate] with date = 2023-09-30 23:00:00 +0000 / 20231001, timeframe = quarter, calculated filename = 2023-Q4.md
JSLog: [calendarNoteByDate] with date = 2024-03-31 23:00:00 +0000 / 20240401, timeframe = quarter, calculated filename = 2024-Q2.md
These calls for quarters almost certainly come from my call:
const currentQuarterlyNote = DataStore.calendarNoteByDate(today, 'quarter')
These checks were done in GMT, so no timezone offset to worry about.
Originally reported here in Discord.
- 主要语言
- JavaScript
- 星标
- 204
- 派生
- 82
- 平均合并
- 22 小时 27 分钟
- 30 天内合并 PR
- 3
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NotePlan/plugins 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
-
bug
难度 4/5 3-5 天 新手友好度 48/100
-
难度 5/5 一周以上 新手友好度 35/100
-
bug
-
bug
难度 3/5 1-2 天 新手友好度 38/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
antfu-collective/icones#398 ·
-
ECmail.com 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
wesbos/burner-email-providers#554 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
radiantearth/stac-browser#1023 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
components-web-app/docs#92 ·