Skip to content

Commit 8733146

Browse files
Merge pull request #172 from YoganshSharma/fix/AcCalendar-filename-format
Update for Autumn 2025-26
2 parents ef3ddd6 + b6d6f8f commit 8733146

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

utils/academic_calander_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def get_latest_calendar_name():
2929
if(curr_month < 7):
3030
curr_year -= 1
3131

32-
year_str = str(curr_year) + '_' + str((curr_year % 100) + 1)
33-
filename = 'ACADEMIC_CALENDAR_' + year_str + '.pdf'
32+
year_str = str(curr_year) + '-' + str((curr_year % 100) + 1)
33+
filename = 'AcademicCalendar' + year_str + '.pdf'
3434
return filename
3535

3636
def is_file_present(file):

utils/dates.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
from collections import defaultdict
88

99

10-
SEM_BEGIN = build_event.generate_india_time(2025, 1, 2, 0, 0)
11-
MID_TERM_BEGIN = build_event.generate_india_time(2025, 2, 18, 0, 0)
12-
MID_TERM_END = build_event.generate_india_time(2025, 2, 26, 0, 0)
13-
END_TERM_BEGIN = build_event.generate_india_time(2025, 4, 21, 0, 0)
14-
AUT_BREAK_BEGIN = build_event.generate_india_time(2024, 10, 5, 0, 0)
15-
AUT_BREAK_END = build_event.generate_india_time(2024, 10, 13, 0, 0)
10+
SEM_BEGIN = build_event.generate_india_time(2025, 7, 16, 0, 0)
11+
MID_TERM_BEGIN = build_event.generate_india_time(2025, 9, 18, 0, 0)
12+
MID_TERM_END = build_event.generate_india_time(2025, 9, 26, 0, 0)
13+
END_TERM_BEGIN = build_event.generate_india_time(2025, 11, 17, 0, 0)
14+
AUT_BREAK_BEGIN = build_event.generate_india_time(2024, 9, 27, 0, 0)
15+
AUT_BREAK_END = build_event.generate_india_time(2024, 10, 5, 0, 0)
1616

1717

1818

@@ -182,4 +182,4 @@ def get_rfc_time(time: int, day: str, minute: int = 0, second: int = 0) -> str:
182182

183183
for hday in hdays.keys():
184184
hdays[hday].sort()
185-
hdays[hday] = list(set(hdays[hday])) ### datetime dict(list)
185+
hdays[hday] = list(set(hdays[hday])) ### datetime dict(list)

0 commit comments

Comments
 (0)