Skip to content

Commit

Permalink
fixes 3
Browse files Browse the repository at this point in the history
  • Loading branch information
c0repwn3r committed Nov 9, 2024
1 parent a47f9ba commit 4fd4bfb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scheddy",
"version": "0.0.4",
"version": "0.0.5",
"type": "module",
"scripts": {
"dev": "vite dev",
Expand Down
5 changes: 5 additions & 0 deletions src/routes/(authed)/schedule/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ function slottificate(
const interval = Interval.fromDateTimes(start, end);

console.log(interval);
if (interval.start == null) {
console.log("-- INVALID INTERVAL --");
console.log(start);
console.log(end);
}

availablePeriodsMentorsTime.push(interval);
}
Expand Down

0 comments on commit 4fd4bfb

Please sign in to comment.