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.

    Clock format

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    41 Posts 2 Posters 17.4k Views 2 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.
    • L Offline
      louise @sdetweil
      last edited by

      @sdetweil I just did a ctrl a then copy and pasted

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @louise
        last edited by sdetweil

        @louise

        NEVER change the CODE

        in config.js

        		{
        			module: "clock",
        			position: "top_left"
        		},
        

        whatever u need to configure goes inside a config:{} section,…

        if not there, add one

        		{
        			module: "clock",
        			position: "top_left",
                               config: {
                                    .... whatever 
                              }
        		},
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          louise @sdetweil
          last edited by

          @sdetweil I didn’t think I did change anything.

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @louise
            last edited by

            @louise after the paste

            select the text in the message, and the push the </> button above the editor
            Screenshot at 2021-12-02 16-20-19.png

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            L 1 Reply Last reply Reply Quote 0
            • L Offline
              louise @sdetweil
              last edited by

              @sdetweil OH, that’s what you meant by block.
              But as far as changing anything in the code I didn’t, except the 12 and imperial

              L S 2 Replies Last reply Reply Quote 0
              • L Offline
                louise @louise
                last edited by sdetweil

                @louise

                deleted  sam
                
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @louise
                  last edited by

                  @louise said in Clock format:

                  anything in the code I didn’t, except the 12 and imperial

                  then u changed something

                  NEVER edit the source files… ALL changes go thru config.js

                  the design is that things u specify in config.js override thing in the source code… so you NEVER have to touch the source file.
                  if you DON’T specify something, then the module default setting will be used…
                  (each module should document what that is… )

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @louise
                    last edited by

                    @louise again you are pasting the source code… and missed a step,

                    after the paste into the message here, SELECT the text AGAIN, and then push the code button

                    we want to see what settings are in config.js for clock, not clock.js

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    L 1 Reply Last reply Reply Quote 0
                    • L Offline
                      louise @sdetweil
                      last edited by sdetweil

                      @sdetweil

                      aaaaa

                      L S 2 Replies Last reply Reply Quote 0
                      • L Offline
                        louise @louise
                        last edited by

                        @louise I forgot to take out private stuff again

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 1 / 5
                        • First post
                          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