Fix period display when using 24 hour mode.

This commit is contained in:
Michael Teeuw 2016-04-20 12:16:41 +02:00
parent d778f2dd8b
commit 3b1f1a41dc

View File

@ -79,7 +79,7 @@ Module.register("clock",{
if (this.config.displaySeconds) { if (this.config.displaySeconds) {
timeWrapper.appendChild(secondsWrapper); timeWrapper.appendChild(secondsWrapper);
} }
if (this.config.showPeriod) { if (this.config.showPeriod && this.config.timeFormat !== 24) {
timeWrapper.appendChild(periodWrapper); timeWrapper.appendChild(periodWrapper);
} }