Skip to content

Commit 6f25cd6

Browse files
authored
Merge pull request #157 from Coding-Club-IITG/prajit
changed year option
2 parents b709cab + 165d405 commit 6f25cd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/screens/browse/components/year-info/year-options.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const currentDate = new Date();
22
const currentMonth = currentDate.getMonth() + 1;
3-
const acadYear = (currentMonth >= 1 && currentMonth <= 5) ? currentDate.getFullYear() - 1 : currentDate.getFullYear();
3+
const acadYear = currentDate.getFullYear();
44

55
const Yroptions = ({
66
course,

0 commit comments

Comments
 (0)