From 044aea0fade740670866004e361e0ecd9ec4eca4 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 3 Oct 2006 04:25:23 +0000 Subject: [PATCH] Fix for access date on links and snapshots displaying as UTC (thanks Dan C.) --- chrome/content/zotero/overlay.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 9286a1136..84aeb259a 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -287,11 +287,10 @@ var ZoteroPane = new function() // URL document.getElementById('zotero-attachment-url').setAttribute('value', item.getField('url')); document.getElementById('zotero-attachment-url').setAttribute('hidden', false); - // Access date document.getElementById('zotero-attachment-accessed').setAttribute('value', Zotero.getString('itemFields.accessDate') + ': ' - + Zotero.Date.sqlToDate(item.getField('accessDate')).toLocaleString()); + + Zotero.Date.sqlToDate(item.getField('accessDate'), true).toLocaleString()); document.getElementById('zotero-attachment-accessed').setAttribute('hidden', false); } // Metadata for files