MagicMirror Forum

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

    The deafult weather and MMM-DOOMsday is not changing day in the morning......

    Troubleshooting
    5
    17
    4551
    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.
    • I
      ironman_DK last edited by

      I have a little question, I have installed different modules and everything is working fine, specially two of my modules : weather forecast(default) installed and MMM-doomsDay - The countdown module, do you know when they are changing day ? example, monday morning sunday is still at the top af the weater forecast, and when I come home from work it has changed to Monday, and the same with doomsday, the countdown day has not changed Monday morning, but after work the number is one down as i should, is there a way to change somthing, so the countdown and the forecast is changing after midnight instead in the mittle of the day ? is that possible ?

      broberg 1 Reply Last reply Reply Quote 0
      • broberg
        broberg Project Sponsor @ironman_DK last edited by

        @ironman_DK do you have the latest version of doomsday? It will change at midnight if you haven’t altered the time. It didn’t do that in the early versions.

        I 1 Reply Last reply Reply Quote 0
        • I
          ironman_DK @broberg last edited by

          @broberg I guess I have the newest version 5 days old,I have not altered the time, can I do that ? and where ?

          broberg 1 Reply Last reply Reply Quote 0
          • broberg
            broberg Project Sponsor @ironman_DK last edited by broberg

            @ironman_DK then yes, you have the latest.

            Is your doomsday set to with the hours like the example?

            doomsDay: "2018-02-23 24:00:00"
            
            
            I 1 Reply Last reply Reply Quote 0
            • I
              ironman_DK @broberg last edited by

              @broberg yes , I have set the dooms day

              {
              module: ‘MMM-doomsDay’,
              position: ‘top_center’, // This can be any of the regions, best results in center regions
              config: {
              doomsDay: “2017-04-7 14:00:00”, // YYYY-MM-DD HH:MM:SS
              toWhat: “Påskeferie”,

                  // See 'Configuration options' for more information.
              }
              

              },

              regarding my settings / today is says there is 23 days left, tomorrow morning it is still 23 days left, but when I come home from work there is 22 days left whitch is correct, but does it not change at midnight _

              Mykle1 broberg 3 Replies Last reply Reply Quote 0
              • Mykle1
                Mykle1 Project Sponsor Module Developer @ironman_DK last edited by Mykle1

                @ironman_DK

                recommend that you don't alter the hour, keep it at 24:00:00 comes right from the readMe file. And your day of the 7th should be 07

                So, try this:

                doomsDay: “2017-04-07 24:00:00”,

                Create a working config
                How to add modules

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

                  @ironman_DK

                  Here’s my config entry. It works perfectly for me.

                  {
                  module: 'MMM-doomsDay',
                      			position: 'top_right', // This can be any of the regions, best results in center regions
                      			config: {
                          			doomsDay: "2017-04-11 24:00:00", // recommend that you don't alter the hour, keep it at 24:00:00
                          			toWhat: 'Mark B-Day!', // the title of your countdown event
                  				present: 'Call Him!',
                  				updateInterval: 1 * 3600000,
                  				singular: 'more day!', // what it should say when it's only one day left, default is `Day Left`
                  				plural: 'more days', // what it should say when it's more days left, default is `Days Left`
                  				}
                  		},
                  

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 1
                  • broberg
                    broberg Project Sponsor @ironman_DK last edited by

                    @ironman_DK yeah, you have to keep the hour set at 24 if you want it to change day at midnight. Otherwise it will change day at 14:00.

                    I made it so the module doesn’t really compare dates, it gets the unix time from the current date and time and subtracts it from the set date and time.

                    So just change the time on the doomsday and it will change day at midnight 😎

                    I 1 Reply Last reply Reply Quote 0
                    • I
                      ironman_DK @broberg last edited by

                      @broberg oohhhh off course, now it will work / I can see at my magic mirror, that there is a update, how do I update without reinstall the modul ?

                      broberg 1 Reply Last reply Reply Quote 0
                      • broberg
                        broberg Project Sponsor @ironman_DK last edited by

                        @ironman_DK navigate to the module folder and do a git pull . It’s no important change, I just updated the read me file!

                        W 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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