Request For a PlugIn
I sure would like a PlugIn that would clean up the date fields to a constant format.
Formats that should be supported are
YYYY$MM$DD
MM$DD$YYYY
(Month name) DD, YYYY
DD (Month name) YYYY
(Month abbreviation). DD, YYYY
DD (Month abbreviation) YYYY
where $ is set { - / }
I have used a secondary sort on the date. When the date is "January 25, 2007" it takes up a lot of space on the screen to get the column wide enough to see the year which is of most interest.
Formats that should be supported are
YYYY$MM$DD
MM$DD$YYYY
(Month name) DD, YYYY
DD (Month name) YYYY
(Month abbreviation). DD, YYYY
DD (Month abbreviation) YYYY
where $ is set { - / }
I have used a secondary sort on the date. When the date is "January 25, 2007" it takes up a lot of space on the screen to get the column wide enough to see the year which is of most interest.
Cleaning up individual fields is another issue, but I think it must be done manually at this point. (For example, see: https://forums.zotero.org/discussion/comment/321504#Comment_321504 or https://forums.zotero.org/discussion/73007/cleanup-names-of-creators-publishers-cities-etc) Dates, in particular, have some quirks in Zotero (they're usually treated as date values rather than literal text, but it's complicated), so it could be especially difficult.
I've got a couple of thousand dates, so at 5 seconds per item it would take a couple of hours to spin through them all.
A user contributed a pull request implementing this a while back (https://github.com/zotero/zotero/pull/1199), but they never finished addressing the issues raised by @dstillman. If someone were interested in working on this, I am sure the developers would welcome a new pull request.
Some sort of bibliographic entry for the item (cr,lf)
DATE IN xxxxx Date Stored xxxxx
I'm guessing that Zotero must sort the date as text in some table, then also parse it to YYYY-MM-DD format somewhere else.
So perhaps I could change "January" to "Jan." with a search and replace, but how to change "Jan. 1, 2018" to "2018/01/01"? You'd need a very specific batch editing for dates, not just string text manipulation.
Hence the desire for a specific plugin...
Perhaps something similar for dates? Have Zotero store whatever was the input text in one field and how it was interpreted in another field.