Einheit für Erinnerung hinzugefügt
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user