feat: days in timetable template

This commit is contained in:
Jannat Patel
2023-10-04 10:44:16 +05:30
parent 685c5babe5
commit 9205b59e29
3 changed files with 22 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ def get_context(context):
)
if not batch.published:
private_batches.append(batch)
elif getdate(batch.start_date) < getdate():
elif getdate(batch.start_date) <= getdate():
past_batches.append(batch)
else:
upcoming_batches.append(batch)