We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09b9113 commit d71dbf5Copy full SHA for d71dbf5
files/usr/share/cinnamon/applets/[email protected]/eventView.js
@@ -106,6 +106,11 @@ class EventData {
106
// causing it to appear for two days.
107
this.end = this.end.add_seconds(-1);
108
}
109
+ if (this.end.compare(this.start) == -1) {
110
+ // An all day event can be a single point in time at 00:00. The previous -1s
111
+ // will cause it to appear all the following days in the current view.
112
+ this.end = this.start;
113
+ }
114
this.start_date = date_only(this.start);
115
this.end_date = date_only(this.end);
116
this.multi_day = !dt_equals(this.start_date, this.end_date);
0 commit comments