Cannot use 'contains' operator with dates

Hello Zotero devs and fellow users,

I'm trying to standardize the date entries in my library to YYYY-MM-DD, but I cannot do an advanced search for "date contains /" or do the equivalent search directly in Javascript because 'contains' is not listed as one of the valid operators for dates:
https://github.com/zotero/zotero/blob/59773f3f6d629bd4d37a5254892d29d8f3dfd023/chrome/content/zotero/xpcom/search.js#L2125

I don't want to modify the database directly and would rather make the modifications using the JavaScript interface (or, indeed, a bulk-edit interface).

How do you recommend I solve this problem?

Thanks!
Sign In or Register to comment.