From b480fa28b27e61dbaf43900b74add81598385880 Mon Sep 17 00:00:00 2001 From: Derek Chen Date: Fri, 9 Feb 2024 17:54:25 -0600 Subject: [PATCH] chore: shorten DAY_MAP keys --- src/shared/types/CourseMeeting.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/shared/types/CourseMeeting.ts b/src/shared/types/CourseMeeting.ts index 9b1b4f5e..2e8339f8 100644 --- a/src/shared/types/CourseMeeting.ts +++ b/src/shared/types/CourseMeeting.ts @@ -4,13 +4,13 @@ import { Serialized } from 'chrome-extension-toolkit'; * a map of the days of the week that a class is taught, and the corresponding abbreviation */ export const DAY_MAP = { - MON: 'Monday', - TUE: 'Tuesday', - WED: 'Wednesday', - THU: 'Thursday', - FRI: 'Friday', - SAT: 'Saturday', - SUN: 'Sunday', + M: 'Monday', + T: 'Tuesday', + W: 'Wednesday', + TH: 'Thursday', + F: 'Friday', + S: 'Saturday', + SU: 'Sunday', } as const; /** A day of the week that a class is taught */