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 This?

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

      code_text

      			module: "clock",
      			position: "top_left"
      		},```
      code_text
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @louise
        last edited by

        @louise hmm… still not sure what the problem is

        select/copy from config.js

        replay to message here

        paste text

        ctrl-a (select all)
        (it will have my userid in the select of the reply )
        press code block button

        I just did this and got

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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil Would it be easier if I just started over?

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

            @louise said in Clock format:

            Would it be easier if I just started over?

            with what? ignore what is above

            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 Just a new install of Magic Mirror, rename this as MagicMirror1 and do a new install.

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

                @louise no… u havent hurt anything… we can get back the changed files easy

                the design makes it so we can change the code whenever we need to (we own it) and your implementation is not impacted, and you also aren’t blocked from getting the quarterly updates (next one coming Jan 1) …

                if you think it would be easier for you, then sure ,rename the folder, use my script to install again
                and then migrate your source file changes to config.js

                but u can migrate the changes now, no harm …

                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

                  deleted

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

                    @louise said in Clock format:

                    {
                    module: “clock”,
                    position: “top_left”
                    },

                    still didnt’ get the select all

                    and this is the only part we needed

                    {
                    module: “clock”,
                    position: “top_left”
                    },
                    

                    it has no config:{} section, so all the module defaults are used

                    to change some setting here do

                    {
                    module: “clock”,
                    position: “top_left”,     // <-  add a comma (more stuff follows this line) 
                    config : {
                         timeFormat:24, 
                    }
                    },
                    

                    in the setting above clock will use 24 hour format, even if the base is set to 12 hour format

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil Given a choice I would rather just have this figured out. Did I do right this time?

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

                        @louise no

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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