From d4f1e7d3cb2d79bb69405e46300afcf2eedaf4c7 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Mon, 29 Nov 2021 09:52:47 +0000 Subject: [PATCH] minor fixes for #952 --- apps/locale/locale.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/locale/locale.html b/apps/locale/locale.html index 25acb2fff..90a2e8d40 100644 --- a/apps/locale/locale.html +++ b/apps/locale/locale.html @@ -181,7 +181,7 @@ function round(n) { var is12; function getHours(d) { var h = d.getHours(); - if (is12==undefined) is12 = (require('Storage',1).readJSON('setting.json')||{})["12hour"]; + if (is12===undefined) is12 = (require('Storage').readJSON('setting.json',1)||{})["12hour"]; if (!is12) return h; return (h%12==0) ? 12 : h%12; }