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.06k stars 282 forks source link

Add ISO date string preference #481

Closed argenos closed 4 years ago

argenos commented 4 years ago

Since date_str was being used in several places, I opted for the simplest option and switched the ternary operator for an if clause. The new preference needs the user to set localeDateInNote to false and isoDate to true, so users' have to intentionally modify settings to get an ISO date instead of Zotfile's defaults.

Closes #480