From c3749c68370a94eb8033df8b225b6e516a99bd9c Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 26 Feb 2023 14:09:42 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Fix=20lint=20warn,=20single=20qu?= =?UTF-8?q?otes=20in=20clock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Widgets/Clock.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Widgets/Clock.vue b/src/components/Widgets/Clock.vue index 9b238f45..f7a22bd1 100644 --- a/src/components/Widgets/Clock.vue +++ b/src/components/Widgets/Clock.vue @@ -40,7 +40,7 @@ export default { return !this.options.hideSeconds; }, use12Hour() { - if (typeof this.options.use12Hour === "boolean") return this.options.use12Hour; + if (typeof this.options.use12Hour === 'boolean') return this.options.use12Hour; // this is the default, it gets computed by the DateTimeFormat implementation return Intl.DateTimeFormat(this.timeFormat, { timeZone: this.timeZone, hour: 'numeric' }).resolvedOptions().hour12 ?? false; },