• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Total noobie question re formatting

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 428 Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    norwestie
    last edited by Nov 3, 2020, 11:10 PM

    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?

    1 Reply Last reply Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by Nov 3, 2020, 11:18 PM

      @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",

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • N Offline
        norwestie
        last edited by Nov 4, 2020, 6:16 PM

        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?

        S M 2 Replies Last reply Nov 4, 2020, 6:18 PM Reply Quote 0
        • S Offline
          sdetweil @norwestie
          last edited by sdetweil Nov 4, 2020, 6:28 PM Nov 4, 2020, 6:18 PM

          @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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @norwestie
            last edited by Nov 4, 2020, 9:42 PM

            @norwestie

            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

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy