We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b709cab + 165d405 commit 6f25cd6Copy full SHA for 6f25cd6
1 file changed
client/src/screens/browse/components/year-info/year-options.jsx
@@ -1,6 +1,6 @@
1
const currentDate = new Date();
2
const currentMonth = currentDate.getMonth() + 1;
3
-const acadYear = (currentMonth >= 1 && currentMonth <= 5) ? currentDate.getFullYear() - 1 : currentDate.getFullYear();
+const acadYear = currentDate.getFullYear();
4
5
const Yroptions = ({
6
course,
0 commit comments