Page 1 of 1

Filters Date/time

Posted: Fri May 20, 2016 7:34 am
by otv5125
Hello!
I have a problem with zoneminder server filters.
Exactly, "Date/Time" filter has preset to "less than or equal to" with value of "-20 days". "Delete all matches" checked on. After "submit" command activation, all records (events) to be deleted are listed correctly, but "Execute" command activation results in nothing. All records (events) are untouched.
Log messages, applied to "filters" contain the following error messages "Error parsing date/time '-20 days', skipping filter '20 days qq'". The screenshots attached to this mail message.
Thanks in advance.

Re: Filters Date/time

Posted: Fri May 20, 2016 12:13 pm
by bbunge
Hope you can see the image of my purge filter
purge.jpg
purge.jpg (39.13 KiB) Viewed 35750 times

Re: Filters Date/time

Posted: Sat May 21, 2016 6:46 am
by otv5125
Error

Re: Filters Date/time

Posted: Sat May 21, 2016 11:02 am
by Gary S
The only significant difference I see between mine and yours is that yours is set to "Date" and mine is set to "Date/Time". Mine works.

Re: Filters Date/time

Posted: Tue May 24, 2016 4:38 pm
by ac7ss
Same trouble here. Perhaps a script or tool needs to be installed?
ImageImage

Re: Filters Date/time

Posted: Fri Jun 17, 2016 11:34 pm
by ac7ss
I found a solution, instead of using "-20 days" (Which does work in a view), use "20 days ago" as this seems to parse just fine.

Re: Filters Date/time

Posted: Sat Oct 29, 2016 4:48 pm
by otv5125
ac7ss wrote:I found a solution, instead of using "-20 days" (Which does work in a view), use "20 days ago" as this seems to parse just fine.
Thank you, this filter work!

Re: Filters Date/time

Posted: Tue Jan 17, 2017 7:02 pm
by steelskin
I had the same problem, "-20 days" works when you use the submit button in filter but it isn't parsed by the background daemon. ie I get the filter -20 days unable to parse error.

As was mentioned above using 20 days ago worked for me too in both the submit & daemon. :D

I'm using zoneminder 1.30.0.