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.
Filters Date/time
Filters Date/time
- Attachments
-
- unnamed (1).png (11.78 KiB) Viewed 46375 times
-
- unnamed.png (38.75 KiB) Viewed 46375 times
Re: Filters Date/time
Hope you can see the image of my purge filter
Re: Filters Date/time
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
Same trouble here. Perhaps a script or tool needs to be installed?
Re: Filters Date/time
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
Thank you, this filter work!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.
Re: Filters Date/time
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.
I'm using zoneminder 1.30.0.
As was mentioned above using 20 days ago worked for me too in both the submit & daemon.
I'm using zoneminder 1.30.0.