diff --git a/website/src/config/index.ts b/website/src/config/index.ts index fcfe7a50c4..5552e25e85 100644 --- a/website/src/config/index.ts +++ b/website/src/config/index.ts @@ -4,7 +4,7 @@ import { format } from 'date-fns'; import { AcadYear, Semester } from 'types/modules'; import holidays from 'data/holidays.json'; -import modRegData from 'data/modreg-schedule-ay1920-sem1.json'; +import modRegData from 'data/modreg-schedule-ay2021-sem1.json'; import appConfig from './app-config.json'; export const regPeriods = [ diff --git a/website/src/data/modreg-schedule-ay1920-sem1.json b/website/src/data/modreg-schedule-ay1920-sem1.json deleted file mode 100644 index 6bbbfb8c1a..0000000000 --- a/website/src/data/modreg-schedule-ay1920-sem1.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "Undergraduate": [ - { - "type": "Select Modules", - "name": "1", - "start": "2019-07-25T09:00:00+08:00", - "end": "2019-07-29T12:00:00+08:00" - }, - { - "type": "Select Modules", - "name": "2", - "start": "2019-08-05T09:00:00+08:00", - "end": "2019-08-07T12:00:00+08:00" - }, - { - "type": "Select Modules", - "name": "3", - "start": "2019-08-13T09:00:00+08:00", - "end": "2019-08-15T12:00:00+08:00" - }, - { - "type": "Select Tutorials / Labs", - "name": "1", - "start": "2019-08-13T09:00:00+08:00", - "end": "2019-08-15T12:00:00+08:00" - }, - { - "type": "Select Tutorials / Labs", - "name": "2", - "start": "2019-08-19T09:00:00+08:00", - "end": "2019-08-20T12:00:00+08:00" - }, - { - "type": "Add / Swap Tutorials", - "name": "", - "start": "2019-08-21T09:00:00+08:00", - "end": "2019-08-21T17:00:00+08:00" - } - ], - "Graduate": [ - { - "type": "Select Modules", - "name": "1", - "start": "2019-07-25T09:00:00+08:00", - "end": "2019-07-29T12:00:00+08:00" - }, - { - "type": "Select Modules", - "name": "2", - "start": "2019-08-05T09:00:00+08:00", - "end": "2019-08-07T12:00:00+08:00" - }, - { - "type": "Select Modules", - "name": "3", - "start": "2019-08-13T09:00:00+08:00", - "end": "2019-08-15T12:00:00+08:00" - }, - { - "type": "Submit Module Requests", - "name": "1", - "start": "2019-08-05T09:00:00+08:00", - "end": "2019-08-06T12:00:00+08:00" - }, - { - "type": "Submit Module Requests", - "name": "2", - "start": "2019-08-13T09:00:00+08:00", - "end": "2019-08-14T12:00:00+08:00" - }, - { - "type": "Select Tutorials / Labs", - "name": "1", - "start": "2019-08-13T09:00:00+08:00", - "end": "2019-08-15T12:00:00+08:00" - }, - { - "type": "Select Tutorials / Labs", - "name": "2", - "start": "2019-08-19T09:00:00+08:00", - "end": "2019-08-20T12:00:00+08:00" - }, - { - "type": "Add / Swap Tutorials", - "name": "", - "start": "2019-08-21T09:00:00+08:00", - "end": "2019-08-21T17:00:00+08:00" - } - ] -} diff --git a/website/src/data/modreg-schedule-ay2021-sem1.json b/website/src/data/modreg-schedule-ay2021-sem1.json new file mode 100644 index 0000000000..c8bf8d8748 --- /dev/null +++ b/website/src/data/modreg-schedule-ay2021-sem1.json @@ -0,0 +1,84 @@ +{ + "Undergraduate": [ + { + "type": "Select Modules", + "name": "1", + "start": "2020-07-23T09:00:00+08:00", + "end": "2020-07-27T12:00:00+08:00" + }, + { + "type": "Select Modules", + "name": "2", + "start": "2020-07-30T09:00:00+08:00", + "end": "2020-08-03T12:00:00+08:00" + }, + { + "type": "Select Modules", + "name": "3", + "start": "2020-08-05T09:00:00+08:00", + "end": "2020-08-06T12:00:00+08:00" + }, + { + "type": "Select Tutorials / Labs", + "name": "1", + "start": "2020-08-12T09:00:00+08:00", + "end": "2020-08-12T17:00:00+08:00" + }, + { + "type": "Select Tutorials / Labs", + "name": "2", + "start": "2020-08-14T09:00:00+08:00", + "end": "2020-08-14T17:00:00+08:00" + }, + { + "type": "Add / Swap Tutorials", + "name": "", + "start": "2020-08-16T09:00:00+08:00", + "end": "2020-08-18T12:00:00+08:00" + } + ], + "Graduate": [ + { + "type": "Select Modules", + "name": "1", + "start": "2020-07-23T09:00:00+08:00", + "end": "2020-07-27T12:00:00+08:00" + }, + { + "type": "Select Modules", + "name": "2", + "start": "2020-07-30T09:00:00+08:00", + "end": "2020-08-03T12:00:00+08:00" + }, + { + "type": "Select Modules", + "name": "3", + "start": "2020-08-05T09:00:00+08:00", + "end": "2020-08-06T12:00:00+08:00" + }, + { + "type": "Submit Module Requests", + "name": "", + "start": "2020-07-30T09:00:00+08:00", + "end": "2020-08-03T12:00:00+08:00" + }, + { + "type": "Select Tutorials / Labs", + "name": "1", + "start": "2020-08-12T09:00:00+08:00", + "end": "2020-08-12T17:00:00+08:00" + }, + { + "type": "Select Tutorials / Labs", + "name": "2", + "start": "2020-08-14T09:00:00+08:00", + "end": "2020-08-14T17:00:00+08:00" + }, + { + "type": "Add / Swap Tutorials", + "name": "", + "start": "2020-08-16T09:00:00+08:00", + "end": "2020-08-18T12:00:00+08:00" + } + ] +}