We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e48f841 commit c3749c6Copy full SHA for c3749c6
src/components/Widgets/Clock.vue
@@ -40,7 +40,7 @@ export default {
40
return !this.options.hideSeconds;
41
},
42
use12Hour() {
43
- if (typeof this.options.use12Hour === "boolean") return this.options.use12Hour;
+ if (typeof this.options.use12Hour === 'boolean') return this.options.use12Hour;
44
// this is the default, it gets computed by the DateTimeFormat implementation
45
return Intl.DateTimeFormat(this.timeFormat, { timeZone: this.timeZone, hour: 'numeric' }).resolvedOptions().hour12 ?? false;
46
0 commit comments