Read the statement by Michael Teeuw here.
Total noobie question re formatting
-
I installed MM on my Pi4. It looks good but I tried to change to time format to 12 hour in Terminal. But I ran into syntax errors every time. I was in the MagicMirror directory and tried moment commands, format commands with no success. I read thru many guides but they were lacking in examples of how to type it out. I found h hh was one way and LT another but what actually lets me change it is beyond me. Can someone point me to a beginner’s guide?
-
@norwestie said in Total noobie question re formatting:
I installed MM on my Pi4. It looks good but I tried to change to time format to 12 hour in Terminal
At the very beginning of your config.js file
var config = { address: "0.0.0.0", port: 8080, ipWhitelist: [], // Set [] to allow all IP addresses language: "en", timeFormat: 12, // or 24 units: "imperial",
-
Thank you but what do I use to access the config.js file? Can I ssh into the Pi to make these changes or from the Ubuntu desktop?
-
@norwestie yes.
u can also use caja or something like that over ssh to edit files on the pi thru the ubuntu ui. I do it every day
-
Or, VNC, which you only have to enable on the Pi. Then get the free VNC client for your remote machine. Now, you can visually see and control exactly what your Pi is doing, edit files, etc