jkenters/EventsX — Issue #7: Events in current day not displaying
Author: jcamachott
Created: 2011-12-05 19:39:30+00:00
State: open

In the EventsX snippet, the line

```
$c->andCondition(array('active' => 1, 'startdate >= NOW()'));
```

doesn't seem to pull events for the current day.

I've changed this to

```
$c->andCondition(array('active' => 1, 'unix_timestamp(startdate) >= unix_timestamp(NOW())-86400'));
```

Not sure if there is a more graceful solution (which is why I didn't do a fork-and-edit)