diff --git a/www/js/splash/notifScheduler.ts b/www/js/splash/notifScheduler.ts index 56deab160..723b949ca 100644 --- a/www/js/splash/notifScheduler.ts +++ b/www/js/splash/notifScheduler.ts @@ -131,8 +131,8 @@ const scheduleNotifs = (scheme, notifTimes) => { isScheduling = true; const localeCode = i18next.resolvedLanguage; const nots = notifTimes.map((n) => { - const nDate = n.toDate(); - const seconds = nDate.getTime() / 1000; + const nDate = n.toISO(); + const seconds = nDate.ts / 1000; return { id: seconds, title: scheme.title[localeCode],