Activate alarm as long as the event has not started

This commit is contained in:
Thomas Bruederli 2011-06-05 19:22:25 -06:00
parent 95d7fa7c3a
commit 1bab608d2c
2 changed files with 4 additions and 4 deletions

View file

@ -30,8 +30,8 @@
+ Support for multiple calendars (replace categories)
- Remember last visited view
- Allow user to create/edit/delete calendars
- Colors for calendars should be user-configurable
+ Allow user to create/edit/delete calendars
+ Colors for calendars should be user-configurable
- ICS parser/generator ((http://code.google.com/p/qcal/)
- Importing ICS files
- Create/manage invdividual views

View file

@ -365,8 +365,8 @@ class database_driver extends calendar_driver
else { // absolute timestamp
$notify_at = $notify[0];
}
if ($notify_at > time())
if ($event['start'] > time())
return date('Y-m-d H:i:s', $notify_at);
}