jlegewie / zotfile

Zotero plugin to manage your attachments: automatically rename, move, and attach PDFs (or other files) to Zotero items, sync PDFs from your Zotero library to your (mobile) PDF reader (e.g. an iPad, Android tablet, etc.), and extract PDF annotations.
4.05k stars 281 forks source link

Wrong year in filename if date is 10/15/11 #624

Closed qqobb closed 2 years ago

qqobb commented 2 years ago

Issue was reported here: https://forums.zotero.org/discussion/99389/zotfile-renaming-bug-date-year

The ZotFile renaming rules state: %y year (extracted from Date field) I am using: {%a}{%y - }{%t} If my Zotero record date is stored in m/d/y format, I get: {%a}{mmddyy - }{%t}

For example: one dated 10/15/11 renames to "Name_101511 - Blah blah blah.pdf" when I would like "Name_2011 - Blah blah blah.pdf". >I really do want just the year in the file name, but there are too many to reformat the Zotero date records.