From cd1ac2e802dc5857dc31771f6fca0507f6da9e28 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 4 Jun 2009 19:22:45 +0000 Subject: [PATCH] Use base-mapped date field in rename format string --- chrome/content/zotero/xpcom/attachments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index 8d825e52cd..74b7f4bf78 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -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') {