homeschool icon indicating copy to clipboard operation
homeschool copied to clipboard

School Days Remaining

Open akaElease opened this issue 3 years ago • 2 comments

This is a feature request, not a bug. I would like to see on the School Year page, probably before the monthly calendar, a "School Days Remaining: #" feature, so that I can see how many days of school we have left. I am looking towards planning the next year with breaks and everything, and it would be nice to have the app calculate how many days I have planned to be school days. And during the year, it might also be nice to see how many school days are remaining in the year. Thanks thanks thanks.

akaElease avatar Dec 17 '22 16:12 akaElease

Hi @mblayman , can we add something like naturaldate from django.contrib and we can calculate the remaining days based on the school ending date from now ? If yes, then I would love to contribute to your project.

rehbarkhan avatar Jun 11 '24 03:06 rehbarkhan

Unfortunately, the logic is going to be more involved than calculating SchoolYear.end_date - now. The complexity comes from the school year being completely customizable to decide which days the school year runs on. Then, when layering in school breaks (i.e., holidays and planned days off), that further increases the complexity of the number that needs to be presented.

mblayman avatar Jun 12 '24 00:06 mblayman