You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$event->addAlarm(
newAlarm(
newAlarm\DisplayAction('Reminder: this task is scheduled now.'),
newAlarm\RelativeTrigger(new \DateInterval('PT1M'))
)
);
Then the output is:
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:Reminder: this task is scheduled now.
TRIGGER:PT1M
END:VALARM
But that doesn't do anything in any of the calendar apps I have tested. Also, I notice in online examples that the trigger usually starts with a - sign (to indicate "before" rather than "after" the DTSTART, I assume), but I cannot create a negative DateInterval, so not sure how to implement that here.
No description provided.
The text was updated successfully, but these errors were encountered: