Skip to content

Commit

Permalink
Move Schedules around and add PSAT
Browse files Browse the repository at this point in the history
  • Loading branch information
ABUCKY0 committed Oct 3, 2023
1 parent 31de2c0 commit 6178535
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import normal from "./schedules/normal.js";
import peprally from "./schedules/peprally.js";
import pack from "./schedules/extended2nd.js";
import finals from "./schedules/finalsTwoFinals.js";
import oneFinals from "./schedules/finalsWeekOnlyOne.js";
import unknown from "./schedules/unknown.js";
import SAT from "./schedules/SAT.js";
import EOC from "./schedules/eoc.js";
//import finals from "./schedules/finalsTwoFinals.js";
//import oneFinals from "./schedules/finalsWeekOnlyOne.js";
//import unknown from "./schedules/unknown.js";
//import SAT from "./schedules/SAT.js";
//import EOC from "./schedules/eoc.js";
const config = {
schedule: {
//default schedule - schedule used most often. User will be
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
45 changes: 45 additions & 0 deletions src/schedules/psat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
export default {
title: "Normal",
version: "2.1",
lunches: [
{id: "A", name: "A Lunch"},
{id: "B", name: "B Lunch"},
{id: "C", name: "C Lunch"},
{id: "D", name: "D Lunch"}
],
getTimes: function(l) {
const lunches = {
A: [
{ name: "Lunch", time: ["11:00", "11:30"] },
{ name: "4th Period", time: ["11:36", "12:06"] },
{ name: "5th Period", time: ["12:12", "13:18"] }
],
B: [
{ name: "4th Period", time: ["11:06", "11:36"] },
{ name: "Lunch", time: ["11:36", "12::06"] },
{ name: "5th Period", time: ["12:12", "13:18"] }
],
C: [
{ name: "4th Period", time: ["11:06", "11:36"] },
{ name: "5th Period (Part 1)", time: ["11:42", "12:12"] },
{ name: "Lunch", time: ["12:12", "12:42"] },
{ name: "5th Period (Part 2)", time: ["12:48", "13:18"]}
],
D: [
{ name: "4th Period", time: ["11:06", "11:36"] },
{ name: "5th Period", time: ["11:42", "12:48"] },
{ name: "Lunch", time: ["12:48", "13:18"] }
]
};

return [
{ name: "1st Period", time: ["07:15", "08:26"] },
{ name: "2nd Period", time: ["08:32", "09:43"] },
{ name: "3rd Period", time: ["09:49", "11:00"] },
...lunches[l],
{ name: "6th Period", time: ["13:24", "14:00"] },
{ name: "7th Period", time: ["14:06", "14:40"] }
];
}
};

0 comments on commit 6178535

Please sign in to comment.