Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Update semester to 2021/22 semester 2 #159

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions www/src/constants/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ====================== Home page
export const THIS_YEAR = "2020";
export const THIS_YEAR = "2022";

// ====================== Calendar
/** By calculation time offset is +8 Hours
Expand All @@ -26,4 +26,4 @@ export const WEEKDAY = {
// Semester start uses UTC time
// JS Date module use 0 as the start of month, hence, 0 stands for January.
export const SEMESTER_START =
new Date(2021, 0, 11, 0, 0, 0, 0).getTime() - WEEKTIME;
new Date(2022, 0, 10, 0, 0, 0, 0).getTime() - WEEKTIME;
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ exports[`PageHome renders correctly 1`] = `
}
}
>
0
2
</span>
</div>
</a>
Expand Down
2 changes: 1 addition & 1 deletion www/src/routes/PageHome/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class PageHome extends React.PureComponent {
<Link to="/browser">
<div>
<span style={{ color: "rgb(60, 126, 130)" }}>2</span>
<span style={{ color: "rgb(255, 131, 131)" }}>0</span>
<span style={{ color: "rgb(255, 131, 131)" }}>2</span>
</div>
</Link>
</div>
Expand Down