Skip to content

feat: add buildGroupSchedulePattern helper#349

Open
wsparcie wants to merge 1 commit intobetafrom
feat/build_group_schedule
Open

feat: add buildGroupSchedulePattern helper#349
wsparcie wants to merge 1 commit intobetafrom
feat/build_group_schedule

Conversation

@wsparcie
Copy link
Copy Markdown
Member

  • detect weekly, biweekly, weekly_with_exceptions, irregular patterns
  • calculate parity: even, odd, all, unknown
  • detect exceptions and gaps in schedule
  • handle edge cases: single occurrence, irregular gaps, holiday breaks

- detect weekly, biweekly, weekly_with_exceptions, irregular patterns
- calculate parity: even, odd, all, unknown
- detect exceptions and gaps in schedule
@wsparcie wsparcie self-assigned this Apr 28, 2026
@wsparcie wsparcie linked an issue Apr 28, 2026 that may be closed by this pull request
@wsparcie wsparcie requested a review from qamarq April 28, 2026 18:53
Copy link
Copy Markdown
Member

@qamarq qamarq left a comment

Choose a reason for hiding this comment

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

po pierwsze endpoint to :
tt/classgroup_dates2

po drugie takie wez pola: start_time|end_time|name|room_number|building_name|classtype_id

po trzecie tu masz przykladowy czesc z arrayki:

{
    "start_time": "2026-03-03 13:15:00",
    "end_time": "2026-03-03 15:00:00",
    "name": {
        "pl": "Zajęcia laboratoryjne",
        "en": "Laboratory"
    },
    "room_number": "107b",
    "building_name": {
        "pl": "Budynek dydaktyczny [D-2]",
        "en": ""
    },
    "classtype_id": "L"
},

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dodać buildGroupSchedulePattern

2 participants