Skip to content

Commit

Permalink
Correcting typo; was wrongfully setting endTime = startTime.
Browse files Browse the repository at this point in the history
  • Loading branch information
troldmand committed Nov 14, 2023
1 parent 3acff7e commit 04ca709
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const CalendarWeekView = ({ focusDate, onClickDay }: CalendarWeekViewProps) => {
date.getMonth(),
date.getDate(),
endTime[0] >= 24 ? 23 : endTime[0],
endTime[0] >= 24 ? 59 : endTime[0]
endTime[0] >= 24 ? 59 : endTime[1]
)
);

Expand Down

0 comments on commit 04ca709

Please sign in to comment.