Skip to content

Commit

Permalink
Merge pull request #32 from maleriepace/main
Browse files Browse the repository at this point in the history
Prevent duplicate events from displaying
  • Loading branch information
randomBrainstormer authored Apr 26, 2023
2 parents 37d2169 + 252c71e commit 60597dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MMM-GoogleCalendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ Module.register("MMM-GoogleCalendar", {
for (const evt of eventList) {
if (
evt.summary === event.summary &&
parseInt(evt.start) === parseInt(event.start)
parseInt(evt.startDate) === parseInt(event.startDate)
) {
return true;
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mmm-googlecalendar",
"version": "2.0.0",
"version": "1.1.0",
"displayName": "MMM-GoogleCalendar",
"description": "Display your Google calendars in MagicMirror (including google's family calendar) without using iCals nor any public calendar. ",
"main": "MMM-GoogleCalendar.js",
Expand Down

0 comments on commit 60597dc

Please sign in to comment.