Use base-mapped date field in rename format string

This commit is contained in:
Dan Stillman 2009-06-04 19:22:45 +00:00
parent 63586518df
commit cd1ac2e802

View file

@ -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') {