Skip to content

fix: SemesterStartTimestamp#35

Merged
Jiahe114514 merged 1 commit intomainfrom
fix/SemesterStartTimestamp
Feb 19, 2026
Merged

fix: SemesterStartTimestamp#35
Jiahe114514 merged 1 commit intomainfrom
fix/SemesterStartTimestamp

Conversation

@Jiahe114514
Copy link
Contributor

@Jiahe114514 Jiahe114514 commented Feb 19, 2026

Summary by CodeRabbit

发布说明

  • 错误修复
    • 修正了学期开始日期,从3月15日更新至3月2日。此更改影响学期周数计算,确保系统准确反映当前学年周次信息。

@Jiahe114514 Jiahe114514 merged commit 14e2f21 into main Feb 19, 2026
1 of 2 checks passed
@coderabbitai
Copy link

coderabbitai bot commented Feb 19, 2026

Caution

Review failed

The pull request is closed.

概览

修改了学期开始时间戳常量,从 1773504000(2026-03-15)调整至 1772380800(2026-03-02),将影响依赖此时间戳的周数计算和相关下游时间数据功能。

变更

变更内容 / 文件 摘要
学期时间常量更新
schoolConst/const.go
将 SemesterStartTimestamp 常量从 1773504000 更新为 1772380800,调整学期开始日期为 2026-03-02。此变更会影响 getWeekNum() 和 GetTimeData() 等依赖该时间戳的计算。

代码审查工作量评估

🎯 1 (Trivial) | ⏱️ ~3 分钟

可能相关的 PRs

  • feat: new semester #28:两个 PR 都修改了 schoolConst/const.go 中相同的日历常量,特别是学期相关的时间戳配置。

建议审查者

  • Echin-h

诗歌

🐰 三月的兔子欢蹦跳,
新日期定下不会摇,
十三号改成二号来,
学期时光轻轻调,
时间戳换个新妙招!✨

✨ Finishing Touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/SemesterStartTimestamp

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments