diff --git a/chrome/content/zotero/contextPane.js b/chrome/content/zotero/contextPane.js index 6e3c669356..073f0b22fb 100644 --- a/chrome/content/zotero/contextPane.js +++ b/chrome/content/zotero/contextPane.js @@ -502,7 +502,7 @@ var ZoteroContextPane = new function () { text = text.slice(0, 500); var parts = text.split('\n').map(x => x.trim()).filter(x => x.length); var title = parts[0] && parts[0].slice(0, Zotero.Notes.MAX_TITLE_LENGTH); - var date = Zotero.Date.sqlToDate(note.dateModified); + var date = Zotero.Date.sqlToDate(note.dateModified, true); date = Zotero.Date.toFriendlyDate(date); return { diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js index 88df75f87a..961e4b9a3f 100644 --- a/chrome/content/zotero/integration/quickFormat.js +++ b/chrome/content/zotero/integration/quickFormat.js @@ -592,7 +592,7 @@ var Zotero_QuickFormat = new function () { var str = ""; if (item.isNote()) { - var date = Zotero.Date.sqlToDate(item.dateModified); + var date = Zotero.Date.sqlToDate(item.dateModified, true); date = Zotero.Date.toFriendlyDate(date); str += date;