ZoneMinder/ZoneMinder — pull request #442 by Tim-Craig (2014-06-15 20:20:14+00:00)
Title: Fixed issue DateTime handling in filter queries that broke timeline view...

After updating my ZoneMinder installation to the lastest Git version, the timeline view became broken. I would only get a screen with a error message about a DB query not returning any records. The steps to reproduce are (in both the classic skin and in the flat skin):

*Go to the Zoneminder Console page.
*Click on any of the links under the 'Hour','Day','Week',Month' columns to go to the Events view.
*When in Events view opens up, click on "Show TimeLine" link.
*The Timeline window will open to an error message instead of the Timeline view.

The issue was the parseFilterToTree function wasn't wrapping DateTime values with quotes, cause the resulting DB query to fail.