diff --git a/chrome/content/zotero/xpcom/data_access.js b/chrome/content/zotero/xpcom/data_access.js index 683d076cd..24942cf29 100644 --- a/chrome/content/zotero/xpcom/data_access.js +++ b/chrome/content/zotero/xpcom/data_access.js @@ -511,7 +511,8 @@ Zotero.Item.prototype.setField = function(field, value, loadIn){ if (fieldID == Zotero.ItemFields.getID('accessDate')) { if (!Zotero.Date.isSQLDate(value) && - !Zotero.Date.isSQLDateTime(value)) { + !Zotero.Date.isSQLDateTime(value) && + value != 'CURRENT_TIMESTAMP') { Zotero.debug("Discarding invalid accessDate '" + value + "' in Item.setField()"); return false;