Skip to content

Commit

Permalink
Add closing drinks
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzdogan committed Aug 22, 2023
1 parent d3b0589 commit 13c6e71
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/schedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,19 @@ const Schedule = () => {
schedule.conference.timeslot_duration
);
})}
{
/* Closing Drinks */
placeEventOnSchedule(
{
start: "19:45",
duration: "01:15",
title: "Closing Drinks & Aperitiv",
type: "Miscellaneous",
persons: [],
},
schedule.conference.timeslot_duration
)
}
</div>
);
})}
Expand Down Expand Up @@ -483,6 +496,7 @@ function addTimes(time1, time2) {
// Via ChatGPT
// Extracts tags from the end of a string and returns the updated string and tags array
function extractAndRemoveTags(inputStr) {
if (!inputStr) return { tags: [], updatedStr: "" };
// Regular expression to match <tags>...</tags> pattern
const tagPattern = /<tags>([^<]+)<\/tags>$/;

Expand Down

0 comments on commit 13c6e71

Please sign in to comment.