Commit graph

6 commits

Author SHA1 Message Date
Clas Wen
39d266e9b5 Fix recurring event duplication bug
When a recurring event has a modified occurrence, the calendar was showing both the original and modified versions. This happened because the code didn't properly handle RECURRENCE-ID exceptions in iCal data.

Changes:
- Modified extractScheduleEventsInRange() to collect exception events first and filter them from recurring patterns
- Updated expandEventOccurrences() to skip dates that have exceptions
- Applied same fix to extractScheduleEvents() for proper date range filtering

Fixes issue where modified recurring events appeared twice in the UI.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 22:47:21 +08:00
Clas Wen
1329a2792d Add mobile date selector for calendar page
- Add sticky mobile date selector with year and month dropdowns
- Hide existing calendar on mobile screens
- Display selected values with 年/月 suffixes
- Improve mobile user experience for date navigation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 15:02:10 +08:00
Clas Wen
5d33c40400 fix style 2025-05-31 10:41:45 +08:00
Clas Wen
1bd9d9551b fix overflow 2025-05-31 10:38:32 +08:00
Clas Wen
c1467ef24d save 2025-05-30 22:27:40 +08:00
Clas Wen
7a33a00ab6 save 2025-05-23 23:18:03 +08:00