Show patents by issue date in timeline view

This commit is contained in:
Dan Stillman 2013-10-06 23:57:40 -04:00
parent df9439f9a2
commit e457e5bdfe

View file

@ -33,7 +33,7 @@ Zotero.Timeline = new function () {
var content = '<data>\n';
for each(var item in items) {
var date = item.getField(dateType, true);
var date = item.getField(dateType, true, true);
if (date) {
var sqlDate = (dateType == 'date') ? Zotero.Date.multipartToSQL(date) : date;
sqlDate = sqlDate.replace("00-00", "01-01");