mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
Fix accessDate for attachments showing up as "false" (caused by r1162)
This commit is contained in:
parent
a076095400
commit
7c8b185b27
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue