commit 044aea0fade740670866004e361e0ecd9ec4eca4
parent 3a107a2c7c8ca9ef116078563f5dc43992e00b9c
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 3 Oct 2006 04:25:23 +0000
Fix for access date on links and snapshots displaying as UTC (thanks Dan C.)
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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