mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Fix showTime parameter
This commit is contained in:
@@ -19,7 +19,7 @@ Module.register("clock", {
|
|||||||
showPeriodUpper: false,
|
showPeriodUpper: false,
|
||||||
clockBold: false,
|
clockBold: false,
|
||||||
showDate: true,
|
showDate: true,
|
||||||
showTime: false,
|
showTime: true,
|
||||||
showWeek: false,
|
showWeek: false,
|
||||||
dateFormat: "dddd, LL",
|
dateFormat: "dddd, LL",
|
||||||
|
|
||||||
@@ -147,7 +147,7 @@ Module.register("clock", {
|
|||||||
digitalWrapper.appendChild(dateWrapper);
|
digitalWrapper.appendChild(dateWrapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.config.showTime || this.config.displayType !== "analog") {
|
if (this.config.displayType !== "analog" && this.config.showTime) {
|
||||||
timeWrapper.innerHTML = timeString;
|
timeWrapper.innerHTML = timeString;
|
||||||
secondsWrapper.innerHTML = now.format("ss");
|
secondsWrapper.innerHTML = now.format("ss");
|
||||||
if (this.config.showPeriodUpper) {
|
if (this.config.showPeriodUpper) {
|
||||||
|
Reference in New Issue
Block a user