From 71af747df037836ba20b2ce849b78550cfb72585 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 12 Jul 2020 04:52:24 -0400 Subject: [PATCH] Fix unnecessary style updating at startup in timezones > UTC https://forums.zotero.org/discussion/comment/360144/#Comment_360144 --- chrome/content/zotero/xpcom/schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 9c3af687cf..3cbc33e749 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -1552,7 +1552,7 @@ Zotero.Schema = new function(){ var styles = Zotero.Styles.getAll(); var styleTimestamps = []; for (let id in styles) { - let styleUpdated = Zotero.Date.sqlToDate(styles[id].updated); + let styleUpdated = Zotero.Date.sqlToDate(styles[id].updated, true); styleUpdated = styleUpdated ? styleUpdated.getTime() / 1000 : 0; var selfLink = styles[id].url; var data = {