Skip to content

fix(schedule): read term and week from the school calendar feed - #85

Merged
m1ngsama merged 1 commit into
mainfrom
fix/school-feed
Sep 27, 2026
Merged

m1ngsama merged 1 commit into
mainfrom
fix/school-feed

Conversation

@m1ngsama

Copy link
Copy Markdown
Member

The schedule tab shows "校历数据暂不可用" for every user, and login cannot infer week one, because school events moved to ical.nbtca.space/school.ics.

  • The schedule tab loads the school feed through @nbtca/nbtcal 0.4.4. It keeps its own ETag and disk cache (school-feed.ics) and falls back to that cache offline.
  • The events feed and its cache are unchanged.

On a fresh install on 2026-09-27, the tab shows 2026–2027学年 · 第一学期 · 第 2 周, the term bar, and 108 days until exam week.

@m1ngsama
m1ngsama merged commit e23d526 into main Sep 27, 2026
4 checks passed
@m1ngsama
m1ngsama deleted the fix/school-feed branch September 27, 2026 10:40
@m1ngsama m1ngsama mentioned this pull request Sep 27, 2026
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