barclock: whitespace

master
Richard de Boer 2022-06-26 14:16:24 +02:00
parent 86e3ee489b
commit 29eedee899
No known key found for this signature in database
GPG Key ID: 8721727971871937
1 changed files with 6 additions and 7 deletions

View File

@ -27,7 +27,6 @@ function renderBar(l) {
prevX = x2; prevX = x2;
} }
function timeText(date) { function timeText(date) {
if (!clock.is12Hour) { if (!clock.is12Hour) {
return locale.time(date, true); return locale.time(date, true);
@ -55,7 +54,7 @@ function dateText(date) {
const ClockFace = require("ClockFace"), const ClockFace = require("ClockFace"),
clock = new ClockFace({ clock = new ClockFace({
precision: 1, precision: 1,
settingsFile:'barclock.settings.json', settingsFile: "barclock.settings.json",
init: function() { init: function() {
const Layout = require("Layout"); const Layout = require("Layout");
this.layout = new Layout({ this.layout = new Layout({