| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Refactoring calendar reminder with repeated triggering of time calculation for month and day, and fixing multiple defects Abandoning the old GetNextDay+monthly jump algorithm and replacing it with a single-layer monthly jump scheme based on absolute month numbers, Year=absMonth/12 automatically crosses years, eliminating the hidden danger of manual setYear accumulation. Fix the following defects: 1. Multiple accumulations of setYear after the New Year result in a delay of 1 to N years in the next cycle 2. The candidate trigger time is earlier than the start date of firstDesignate 3. When firstDesignate exceeds the coverage range of the loop, it is misjudged as expired 4. setDay=255 is incorrectly normalized by mktime (such as invalid configuration for Hb 30) Scan range expanded to 5 years, correctly handling the leap year cycle on February 29th. Add 10 regression tests covering all reachable branches, constructed based on relative time to ensure future feasibility. Signed-off-by: let_it_rot <gaojiaqi7@h-partners.com> Co-Authored-By: Agent | 1 天前 | |
Refactoring calendar reminder with repeated triggering of time calculation for month and day, and fixing multiple defects Abandoning the old GetNextDay+monthly jump algorithm and replacing it with a single-layer monthly jump scheme based on absolute month numbers, Year=absMonth/12 automatically crosses years, eliminating the hidden danger of manual setYear accumulation. Fix the following defects: 1. Multiple accumulations of setYear after the New Year result in a delay of 1 to N years in the next cycle 2. The candidate trigger time is earlier than the start date of firstDesignate 3. When firstDesignate exceeds the coverage range of the loop, it is misjudged as expired 4. setDay=255 is incorrectly normalized by mktime (such as invalid configuration for Hb 30) Scan range expanded to 5 years, correctly handling the leap year cycle on February 29th. Add 10 regression tests covering all reachable branches, constructed based on relative time to ensure future feasibility. Signed-off-by: let_it_rot <gaojiaqi7@h-partners.com> Co-Authored-By: Agent | 1 天前 | |
No power-on reinforcement Signed-off-by: let_it_rot <gaojiaqi7@h-partners.com> | 12 天前 | |
需求 Signed-off-by: let_it_rot <gaojiaqi7@h-partners.com> | 7 个月前 | |
需求 Signed-off-by: let_it_rot <gaojiaqi7@h-partners.com> | 7 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 天前 | ||
| 1 天前 | ||
| 12 天前 | ||
| 7 个月前 | ||
| 7 个月前 |