Einheit für Erinnerung hinzugefügt

This commit is contained in:
2026-01-08 10:10:41 +01:00
parent 6edddb8249
commit 132b571798
2 changed files with 6 additions and 6 deletions

View File

@@ -244,7 +244,7 @@ function normalizeJournalReminder(reminder = {}) {
? Math.max(0, parsedBeforeValue)
: Number.isFinite(parsedDaysBefore)
? Math.max(0, parsedDaysBefore)
: 42;
: 6;
const daysBefore = unit === 'weeks' ? beforeValue * 7 : unit === 'months' ? beforeValue * 30 : beforeValue;
return {
enabled: !!reminder.enabled,