Activate alarm as long as the event has not started
This commit is contained in:
parent
95d7fa7c3a
commit
1bab608d2c
2 changed files with 4 additions and 4 deletions
|
@ -30,8 +30,8 @@
|
||||||
|
|
||||||
+ Support for multiple calendars (replace categories)
|
+ Support for multiple calendars (replace categories)
|
||||||
- Remember last visited view
|
- Remember last visited view
|
||||||
- Allow user to create/edit/delete calendars
|
+ Allow user to create/edit/delete calendars
|
||||||
- Colors for calendars should be user-configurable
|
+ Colors for calendars should be user-configurable
|
||||||
- ICS parser/generator ((http://code.google.com/p/qcal/)
|
- ICS parser/generator ((http://code.google.com/p/qcal/)
|
||||||
- Importing ICS files
|
- Importing ICS files
|
||||||
- Create/manage invdividual views
|
- Create/manage invdividual views
|
||||||
|
|
|
@ -365,8 +365,8 @@ class database_driver extends calendar_driver
|
||||||
else { // absolute timestamp
|
else { // absolute timestamp
|
||||||
$notify_at = $notify[0];
|
$notify_at = $notify[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($notify_at > time())
|
if ($event['start'] > time())
|
||||||
return date('Y-m-d H:i:s', $notify_at);
|
return date('Y-m-d H:i:s', $notify_at);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue