π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π¨ Fix lint warn, single quotes in clock
Alicia Sykesc3749c68370a
diff --git a/src/components/Widgets/Clock.vue b/src/components/Widgets/Clock.vueindex 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 implementationreturn Intl.DateTimeFormat(this.timeFormat, { timeZone: this.timeZone, hour: 'numeric' }).resolvedOptions().hour12 ?? false;},