From d940cc737ba42b83e4c428a5febe3db561a7ccdb Mon Sep 17 00:00:00 2001 From: Dirk Peter Date: Tue, 27 Aug 2024 11:30:24 +0200 Subject: [PATCH] #35: sets seconds for new reminders to :00 --- .../components/reminder-modal/reminder-modal.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/reminder-plugin/components/reminder-modal/reminder-modal.component.ts b/src/app/reminder-plugin/components/reminder-modal/reminder-modal.component.ts index 5413d66..79e47d1 100644 --- a/src/app/reminder-plugin/components/reminder-modal/reminder-modal.component.ts +++ b/src/app/reminder-plugin/components/reminder-modal/reminder-modal.component.ts @@ -94,7 +94,7 @@ export class ReminderModalComponent implements OnInit { const reminder: IEvent = { source: this.reminder.source, type: REMINDER_TYPE, - time: moment(this.reminder.time).toISOString(), + time: moment(this.reminder.time).seconds(0).toISOString(), text: this.reminder.text, status: ReminderStatus.active, };