Skip to content

Commit

Permalink
Merge pull request #91 from HannesOberreiter/dev
Browse files Browse the repository at this point in the history
fix(dev): 🐛 add a second to end time to prevent overlapping over …
  • Loading branch information
HannesOberreiter committed May 31, 2023
2 parents f4df34e + 51ab32e commit 0592b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/utils/calendar.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const getRearings = async ({ query, user }) => {
result.icon = `fas fa-${result.symbol ? result.symbol : 'venus'}`;
result.color = '#f5dfef';
result.textColor = 'black';
result.end = result.start;
result.end = dayjs(result.start).add(1, 'second').toISOString();
result.groupId = `Q${result.id}`;
result.displayEventTime = true;
result.durationEditable = false;
Expand Down

0 comments on commit 0592b86

Please sign in to comment.