Ok
This commit is contained in:
21035
package-lock.json
generated
Normal file
21035
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,18 @@ import React from 'react';
|
||||
import styles from './CalendarGrid.module.scss';
|
||||
import CalendarCell from '../CalendarGridCell/CalendarGridCell';
|
||||
|
||||
|
||||
/**
|
||||
* a map of the days of the week that a class is taught, and the corresponding abbreviation
|
||||
*/
|
||||
export const DAY_MAP = {
|
||||
M: 'Monday',
|
||||
T: 'Tuesday',
|
||||
W: 'Wednesday',
|
||||
TH: 'Thursday',
|
||||
F: 'Friday',
|
||||
S: 'Saturday',
|
||||
SU: 'Sunday',
|
||||
} as const;
|
||||
const daysOfWeek = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'];
|
||||
const hoursOfDay = Array.from({ length: 14 }, (_, index) => index + 8);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user