I do agree though, while programmatically it makes sense, it has tripped me up more than once because of how it’s calculated. Us mere mortals don’t quite count the way computers do …
Read the statement by Michael Teeuw here.
Posts
-
RE: Calendar seems to be 1 day off?
-
RE: No calendar or News feed?!?!?
Did you make any changes to your config.js file (like most of us do)? If so, can you try running the default config.js that comes with MM? Rename your current config.js to something else, and rename the config.js.sample to config.js. Reload the mirror (not just refresh your browser, reload the whole node process on the rpi.)
With the default config, you should get an error on the weather modules, but the others should work. Please report back.
-
RE: Yet an other MagicMirror project...
I keep a sledge hammer handy for when it decides to not respond to my commands. :)
-
RE: Calendar seems to be 1 day off?
It counts from ‘the next midnight’ to the date. So today being ‘some time on the 27th’, start counting at midnight tonight. From there, 6 days later lands you at midnight of the 3rd going into the 4th.
-
RE: Yet an other MagicMirror project...
I think you still can. It’s the
'smart mirrorterminology that everyone is starting to use now. That’s different thanMagic Mirror. -
RE: Yet an other MagicMirror project...
Yep, and none of the different ones posted around the internet is stopping or diminishing what MM does or can do. That’s the beauty of it all, several different ones for people to choose from, and ultimately the ones that people like best will win out. We just keep developing cool stuff. :)
-
RE: Yet an other MagicMirror project...
Heh, I was just about to post that too …
-
RE: MMM-Swipe - Resistor
Standard through hole resister, probably wouldn’t need anything above 1/8 watts. I have a few thousands of those in different values … as well as SMD ones.
-
RE: MMM-Soccer - Standings, Schedules and Top Scorers
I will leave that for the author of the module to help you with. I am not familiar with the module.
-
RE: default calendar - individual icon colors?
Each symbol is wrapped in CSS
spantags allowing you to set your own styles to them. If you look at the actual HTML, you’ll see something similar to this:<tr class="normal"> <td class="symbol"><span class="fa fa-birthday-cake">...</span></td> <td class="title bright">Stacey Donaldson</td> <td class="time light">Today</td> </tr> <tr class="normal"> <td class="symbol"><span class="fa fa-calendar"></span></td> <td class="title bright">AJ Visit</td> <td class="time light">Jul 3rd</td> </tr> <tr class="normal"> <td class="symbol"><span class="fa fa-calendar-check-o "></span> </td><td class="title bright">Independence Day</td> <td class="time light">Jul 4th</td> </tr>Of interest is the line that specifies the
symbolclass. Look at the actual symbol being used. Notice how each one is slightly different:<span class="fa fa-birthday-cake">...</span> <span class="fa fa-calendar">...</span> <span class="fa fa-calendar-check-o ">...</span>Incidentally, those correspond to the symbols I specified in my config file. You can manipulate those. In
~MagicMirror/css/custom.cssadd the following:.fa.fa-calendar { color: #ffff00; /* Yellow */ } .fa.fa-birthday-cake { color: #ff0000; /* Red */ } .fa.fa-calendar-check-o { color: #ff00ff; /* Magenta */ }Reload.