justjim1220 / MMM-DigClock

A modified version of the default clock showing only the digital part. I wanted to be able to place it on another page of my MM2
MIT License
7 stars 4 forks source link

Remove Seconds? #1

Open chrisparker787 opened 4 years ago

chrisparker787 commented 4 years ago

Hi,

I'm having a problem removing the seconds from the display. config: { module: "MMM-DigClock", position: 'top_left', config: { showDate: true, showWeek: false, showSeconds: false, dateFormat: "ddd, D MMM", timezone: "Europe,Paris", } }, Any clue what I've done wrong?

theramez commented 4 years ago

Hi,

I'm having a problem removing the seconds from the display. config: { module: "MMM-DigClock", position: 'top_left', config: { showDate: true, showWeek: false, showSeconds: false, dateFormat: "ddd, D MMM", timezone: "Europe,Paris", } }, Any clue what I've done wrong?

Greetings Mr.chris I've fixed that bug in my fork, it has nothing to do with the config.js settings it's all about a small (if) condition that is missing inside the code. Have a nice day :+1:

chrisparker787 commented 4 years ago

Brilliant, works a treat! Thanks! MM