commit cd1ac2e802dc5857dc31771f6fca0507f6da9e28 parent 63586518df6dfca112eb94c9a701378f64c38f98 Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 4 Jun 2009 19:22:45 +0000 Use base-mapped date field in rename format string Diffstat:
| M | 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 @@ -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') {