diff --git a/www/src/constants/index.js b/www/src/constants/index.js index 4f9658c..8ef2ec7 100644 --- a/www/src/constants/index.js +++ b/www/src/constants/index.js @@ -1,5 +1,5 @@ // ====================== Home page -export const THIS_YEAR = "2020"; +export const THIS_YEAR = "2022"; // ====================== Calendar /** By calculation time offset is +8 Hours @@ -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; diff --git a/www/src/routes/PageHome/__tests__/__snapshots__/index.test.js.snap b/www/src/routes/PageHome/__tests__/__snapshots__/index.test.js.snap index ad647f4..f07c119 100644 --- a/www/src/routes/PageHome/__tests__/__snapshots__/index.test.js.snap +++ b/www/src/routes/PageHome/__tests__/__snapshots__/index.test.js.snap @@ -25,7 +25,7 @@ exports[`PageHome renders correctly 1`] = ` } } > - 0 + 2 diff --git a/www/src/routes/PageHome/index.js b/www/src/routes/PageHome/index.js index e78ad2e..58c4663 100644 --- a/www/src/routes/PageHome/index.js +++ b/www/src/routes/PageHome/index.js @@ -18,7 +18,7 @@ class PageHome extends React.PureComponent {
2 - 0 + 2