Cin316/X-Schedule

Going to extreme future or extreme past dates crashes.

Closed this issue · 1 comments

View dates which are in the far past or future (~3 months) crashes the app with an EXC_BAD_INSTRUCTION. This is probably due to an issue with the St. X website.

To fix issue:

  • Add code to check if page is invalid.
  • Skip schedule parsing and return blank schedule.

Alternatively, you could disallow navigation onto invalid dates.

Issue has been fixed with latest commit.