Failed to filter by date on audit log-latest version

Hi to all.
I ve found this error filtering date on audit log.

When i try to insert any character or number on date->filter in audit log

(psycopg2.ProgrammingError) operator does not exist: timestamp without time zone ~~ unknown LINE 4: WHERE pidea_audit.date LIKE ‘%21%’) AS anon_1 ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. [SQL: ‘SELECT count(*) AS count_1 \nFROM (SELECT pidea_audit.id AS pidea_audit_id \nFROM pidea_audit \nWHERE pidea_audit.date LIKE %(date_1)s) AS anon_1’] [parameters: {‘date_1’: u’%21%’}]

This happens on every version of privacyidea from 2.11 to 2.19.

Thanks a lot. This is an error in conjunction with postgres.
Does not occur with mysql.

Added an issue on github.

OK Cornelius,
thanks a lot for your support.