diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js index c673c91f1d..f7001cdb1b 100644 --- a/chrome/content/zotero/integration/quickFormat.js +++ b/chrome/content/zotero/integration/quickFormat.js @@ -217,7 +217,7 @@ var Zotero_QuickFormat = new function () { if(year) { Zotero.debug("QuickFormat: Year: "+year); - s.addCondition("date", "isAfter", (year)+"-01-01 00:00:00"); + s.addCondition("date", "isAfter", (year-1)+"-12-31 23:59:59"); s.addCondition("date", "isBefore", (year)+"-12-31 23:59:59"); haveConditions = true; } diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul index 40bb5dfbc3..69e264ab4e 100644 --- a/chrome/content/zotero/preferences/preferences.xul +++ b/chrome/content/zotero/preferences/preferences.xul @@ -558,7 +558,8 @@ To add a new preference: image="chrome://zotero/skin/prefs-styles.png"> - + + @@ -571,6 +572,7 @@ To add a new preference: +