HackGT / registration

Powerful and extensible registration system for hackathons and other large events
https://registration.hack.gt
MIT License
6 stars 1 forks source link

Split application times causes dashboard to say applications are open #220

Open petschekr opened 6 years ago

petschekr commented 6 years ago

If one application period (start to finish) has already passed and another hasn't occurred yet, the dashboard will say that applications are open when they actually aren't. Clicking the application button redirects to the dashboard so this is an visual bug only.

Caused by the way templates.ts sorts start and end times and chooses the earliest start time and the latest end time to determine whether applications are open. Period in between when applications aren't open aren't taken into account.