Skip to content

Fix school year bounds#97

Merged
schizza merged 2 commits intodevfrom
fix/school_year
Jan 16, 2026
Merged

Fix school year bounds#97
schizza merged 2 commits intodevfrom
fix/school_year

Conversation

@schizza
Copy link
Owner

@schizza schizza commented Jan 16, 2026

Updated Noticeboard and Messages to fetch messages from correct school year bounds.

⚠️ PR směřujte do dev. Do main jen release/* nebo hotfix/*.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the school year bounds calculation in the Bakalari integration by replacing hardcoded school year start dates with a dynamic calculation using the new school_year_bounds utility function.

Changes:

  • Replaced hardcoded datetime(year=today.year, month=10, day=1).date() with dynamic school_year_bounds(today) function call
  • Updated import statement to include the new school_year_bounds utility function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@schizza schizza merged commit f920ddf into dev Jan 16, 2026
3 checks passed
@schizza schizza deleted the fix/school_year branch January 17, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants