Use base-mapped date field in rename format string
This commit is contained in:
parent
63586518df
commit
cd1ac2e802
1 changed files with 1 additions and 1 deletions
|
@ -891,7 +891,7 @@ Zotero.Attachments = new function(){
|
|||
|
||||
switch (field) {
|
||||
case 'year':
|
||||
var value = item.getField('date', true);
|
||||
var value = item.getField('date', true, true);
|
||||
if (value) {
|
||||
value = Zotero.Date.multipartToSQL(value).substr(0, 4);
|
||||
if (value == '0000') {
|
||||
|
|
Loading…
Reference in a new issue