Skip to content

Commit

Permalink
Change block pattern match
Browse files Browse the repository at this point in the history
  • Loading branch information
battis committed Aug 29, 2023
1 parent dd2afbe commit 61f5cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ global.colorize = ({
const events = calendar.getEvents(
new Date(`${year}-09-01`),
new Date(`${year + 1}-06-20`),
{ author: process.env.SERVICE_ACCOUNT, search: query || `- ${code}` }
{ author: process.env.SERVICE_ACCOUNT, search: query || ` (${code}` }
);
events.forEach((event) => event.setColor(color || blocks[code]));
return g.CardService.Navigation.replaceStack(onHomepage());
Expand Down

0 comments on commit 61f5cde

Please sign in to comment.