fix: standardize punctuation

This commit is contained in:
Linus Rath
2026-04-16 19:07:42 +02:00
parent 6b57118add
commit 8bdadc7ba3
107 changed files with 452 additions and 448 deletions
+4 -4
View File
@@ -24,7 +24,7 @@ const INDEX_TO_DAY: string[] = ['su', 'mo', 'tu', 'we', 'th', 'fr', 'sa'];
* store can use it for mutations.
*
* Non-recurring events are returned as-is. For recurring events the master is
* **not** returned only expanded instances within the range.
* **not** returned - only expanded instances within the range.
*/
export function expandRecurringEvents(
events: CalendarEvent[],
@@ -46,7 +46,7 @@ export function expandRecurringEvents(
}
for (const event of events) {
// Skip override instances returned by the server they belong to a
// Skip override instances returned by the server - they belong to a
// master recurring event and are already handled via recurrenceOverrides.
if (event.recurrenceId && event.uid && recurringUids.has(event.uid)) {
continue;
@@ -165,7 +165,7 @@ function createOccurrence(
}
// ---------------------------------------------------------------------------
// §3.3.3.1 Implicit byX property addition
// §3.3.3.1 - Implicit byX property addition
// ---------------------------------------------------------------------------
function addImplicitByX(
rule: CalendarRecurrenceRule,
@@ -211,7 +211,7 @@ function addImplicitByX(
}
// ---------------------------------------------------------------------------
// §3.3.3.1 Generate occurrence dates
// §3.3.3.1 - Generate occurrence dates
// ---------------------------------------------------------------------------
function generateDates(
eventStart: Date,