Skip to content

Commit

Permalink
Worked on cache for all day events #88 #76
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiGasai committed Mar 20, 2023
1 parent 8dd9a07 commit 692d621
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "google-calendar",
"name": "Google Calendar",
"version": "1.8.14",
"version": "1.8.15",
"minAppVersion": "0.12.0",
"description": "Interact with your Google Calendar from Inside Obsidian",
"author": "YukiGasai",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "google-calendar",
"version": "1.8.14",
"version": "1.8.15",
"description": "Interact with your Google Calendar from Inside Obsidian",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/googleApi/GoogleListEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ async function googleListEventsByCalendar(

// Group events by Day
const groupedEvents = _.groupBy(totalEventList, (event: GoogleEvent) => {
const startMoment = window.moment(event.start.dateTime);
const startMoment = window.moment(event.start.dateTime ?? event.start.date);
return startMoment.format("YYYY-MM-DD");
});

Expand Down

0 comments on commit 692d621

Please sign in to comment.