Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Total noobie question re formatting

    Troubleshooting
    3
    5
    42
    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
      norwestie last edited by

      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
      • Mykle1
        Mykle1 Project Sponsor Module Developer last edited by

        @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",
        1 Reply Last reply Reply Quote 0
        • N
          norwestie last edited by

          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 Mykle1 2 Replies Last reply Reply Quote 0
          • S
            sdetweil @norwestie last edited by sdetweil

            @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

            1 Reply Last reply Reply Quote 0
            • Mykle1
              Mykle1 Project Sponsor Module Developer @norwestie last edited by

              @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

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy