Skip to content

Commit

Permalink
fix bug with schedule being off on sunday
Browse files Browse the repository at this point in the history
  • Loading branch information
CooperW824 committed Oct 22, 2024
1 parent ae1e1cb commit eee45c8
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions data/schedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,27 @@ export const saturdayTimes = [
{ str: "11:00 PM", unix: SATURDAY_START + 3600000 * 14 },
];

// TODO: Make this dependent on SUNDAY_START
export const sundayTimes = [
{ str: "12:00 AM", unix: SATURDAY_START + 3600000 * 14 },
{ str: "1:00 AM", unix: SATURDAY_START + 3600000 * 15 },
{ str: "2:00 AM", unix: SATURDAY_START + 3600000 * 16 },
{ str: "3:00 AM", unix: SATURDAY_START + 3600000 * 17 },
{ str: "4:00 AM", unix: SATURDAY_START + 3600000 * 18 },
{ str: "5:00 AM", unix: SATURDAY_START + 3600000 * 19 },
{ str: "6:00 AM", unix: SATURDAY_START + 3600000 * 20 },
{ str: "7:00 AM", unix: SATURDAY_START + 3600000 * 21 },
{ str: "8:00 AM", unix: SATURDAY_START + 3600000 * 22 },
{ str: "9:00 AM", unix: SATURDAY_START + 3600000 * 23 },
{ str: "10:00 AM", unix: SATURDAY_START + 3600000 * 24 },
{ str: "11:00 AM", unix: SATURDAY_START + 3600000 * 25 },
{ str: "12:00 PM", unix: SATURDAY_START + 3600000 * 26 },
{ str: "1:00 PM", unix: SATURDAY_START + 3600000 * 27 },
{ str: "2:00 PM", unix: SATURDAY_START + 3600000 * 28 },
{ str: "3:00 PM", unix: SATURDAY_START + 3600000 * 29 },
{ str: "4:00 PM", unix: SATURDAY_START + 3600000 * 30 },
{ str: "5:00 PM", unix: SATURDAY_START + 3600000 * 31 },
{ str: "6:00 PM", unix: SATURDAY_START + 3600000 * 32 },
{ str: "7:00 PM", unix: SATURDAY_START + 3600000 * 33 },
{ str: "8:00 PM", unix: SATURDAY_START + 3600000 * 34 },
{ str: "12:00 AM", unix: SATURDAY_START + 3600000 * 15 },
{ str: "1:00 AM", unix: SATURDAY_START + 3600000 * 16 },
{ str: "2:00 AM", unix: SATURDAY_START + 3600000 * 17 },
{ str: "3:00 AM", unix: SATURDAY_START + 3600000 * 18 },
{ str: "4:00 AM", unix: SATURDAY_START + 3600000 * 19 },
{ str: "5:00 AM", unix: SATURDAY_START + 3600000 * 20 },
{ str: "6:00 AM", unix: SATURDAY_START + 3600000 * 21 },
{ str: "7:00 AM", unix: SATURDAY_START + 3600000 * 22 },
{ str: "8:00 AM", unix: SATURDAY_START + 3600000 * 23 },
{ str: "9:00 AM", unix: SATURDAY_START + 3600000 * 24 },
{ str: "10:00 AM", unix: SATURDAY_START + 3600000 * 25 },
{ str: "11:00 AM", unix: SATURDAY_START + 3600000 * 26 },
{ str: "12:00 PM", unix: SATURDAY_START + 3600000 * 27 },
{ str: "1:00 PM", unix: SATURDAY_START + 3600000 * 28 },
{ str: "2:00 PM", unix: SATURDAY_START + 3600000 * 29 },
{ str: "3:00 PM", unix: SATURDAY_START + 3600000 * 30 },
{ str: "4:00 PM", unix: SATURDAY_START + 3600000 * 31 },
{ str: "5:00 PM", unix: SATURDAY_START + 3600000 * 32 },
{ str: "6:00 PM", unix: SATURDAY_START + 3600000 * 33 },
{ str: "7:00 PM", unix: SATURDAY_START + 3600000 * 34 },
{ str: "8:00 PM", unix: SATURDAY_START + 3600000 * 35 },
];

0 comments on commit eee45c8

Please sign in to comment.