Default calendar event notification time

Default calendar event notification time

Samet Kul -
回帖数:2
Testers的头像

How can I change the default reminder time for calendar events notification on the mobile app? it is currently set to 1 hour before the event starts, and I want to make it at least 2 days for all the calendar events by default.

Any help appreciated.

回复Samet Kul

Re: Default calendar event notification time

Dani Palou -
Core developers的头像 Moodle HQ的头像 Peer reviewers的头像 Plugin developers的头像

Hi samet,

it's not possible right now. We have an open issue about this:

https://tracker.moodle.org/browse/MOBILE-1387

Kind regards,

Dani

回复Dani Palou

Re: Default calendar event notification time

Samet Kul -
Testers的头像

Thanks for your reply,

I just figured it out:

Changing the "dateTriggered" variable from the code did the trick for me. I just made the multiplier 1440 for a 24 hours notification in addons/calendar/services/calendar.js

line 369...........................var dateTriggered = new Date((event.timestart - (time * 1440)) * 1000),