Read the statement by Michael Teeuw here.
I can't seem to configure the default clock for my life
-
I have been trying to change the timezone on the clock module for days. I don’t understand why when I add the config lines it bricks MM. Can someone help me out?
module: "clock", position: "top_left", // This can be any of the regions. config: { timezone: 'America/New_York' } -
@Treestanx you’re missing some parts ;) Rule of thumb… you need to have equal { }
so for every { you need one of }… You’re missing two ;) One at the start and one at the end.{ module: 'clock', position: 'top_left', config: { displaySeconds: false, timezone: "America/New_York", } }, -
@Treestanx said in I can’t seem to configure the default clock for my life:
Can someone help me out?
I will try to help you.
{ module: 'MMM-Globe', position: 'bottom_center', config: { style: 'natColor', imageSize: 200, ownImagePath:'', updateInterval: 10*60*1000 } }, { module: 'clock', timezone: 'America/New_York', position: 'top_center' }, { module: 'calendar',Here is the clock portion of my config.js file between 2 other modules. Notice how the module before clock ends with },
The clock module should also end with }, as you can see from mine.From what I’ve learned here, every { needs to have a corresponding } somewhere afterwards in the modules config.
AND, the last } in that modules config needs to have a comma after it. See the module above clock? It has 2 { and
2 corresponding } the last } having a comma afterwards.I hope this helps. I’ve given some faulty advice before but I’d like to think I’ve helped a few people.
-
@cowboysdude said in I can’t seem to configure the default clock for my life:
You’re missing two One at the start and one at the end.
You beat me to it, bro. There was no answer when I started and then when I posted, it showed you already made it to the finish line. :thumbsup:
-
Why is timezone: in config in one example and in the other its under module?
-
@Treestanx That my friend you’ll have to ask the guy who wrote it LOL
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login