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!

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.