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.

    MMM-doomsDay - The countdown module,

    Scheduled Pinned Locked Moved Utilities
    74 Posts 17 Posters 82.5k Views 16 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @broberg
      last edited by Mykle1

      @broberg said in MMM-doomsDay - The countdown module,:

      Anyhow. Try the new version!

      I’ll get it right now. Thanks for dealing with this for me.

      Did the git pull

      I changed my test to the 7th as a 3 day test. I didn’t want to wait till the 15th to see if it was working correctly. It’s reporting 3 Days Left so that’s an improvement right away. I’ll check it in the morning. Thanks again

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @broberg
        last edited by

        @broberg date and time stuff can get really painful, that’s why I’m using moment for those tasks. there are some clever brains that thought about all kind of edge cases etc. you might want to check it out http://momentjs.com/docs/#/displaying/to/

        Please create a github issue if you need help, so I can keep track

        brobergB yawnsY 2 Replies Last reply Reply Quote 1
        • brobergB Offline
          broberg Project Sponsor @strawberry 3.141
          last edited by

          @strawberry-3.141 Yeah I’ve noticed. If this module keeps misbehaving I will look in to the moment.js instead. looka a lot simpler, thanks for the link!

          Mykle1M 1 Reply Last reply Reply Quote 0
          • yawnsY Offline
            yawns Moderator @strawberry 3.141
            last edited by

            @strawberry-3.141
            Absolutely right, moment.js makes life a lot easier when it comes to times and dates.

            1 Reply Last reply Reply Quote 0
            • SnilleS Offline
              Snille Module Developer
              last edited by

              Hi there! I just posted a PR to you on github, adding the “passed” text via the config. And also let the “toWhat” event to still be shown when the event has passed (makes more sense i think if you use the “passed” text.) :)

              If you cant find it, make it and share it!
              Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

              brobergB 1 Reply Last reply Reply Quote 0
              • brobergB Offline
                broberg Project Sponsor @Snille
                last edited by

                @Snille There is already a text being displayed once the day has passed, not configurable, but, there is one :D

                SnilleS 1 Reply Last reply Reply Quote 0
                • SnilleS Offline
                  Snille Module Developer @broberg
                  last edited by Snille

                  @broberg I know, that’s why I only made it configurable. :) Then ppl don’t have to change your code to set their own message. :)

                  If you cant find it, make it and share it!
                  Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

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

                    @broberg said in MMM-doomsDay - The countdown module,:

                    If this module keeps misbehaving

                    Hey Bro, I just wanted to report that my last 3 day test worked correctly, without a hitch. When I looked at my mirror this morning, it said, “Did it work?” :thumbsup_tone1:

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 1
                    • brobergB Offline
                      broberg Project Sponsor
                      last edited by

                      Finally got around to adding the option to change the text displayed when the doomsDay has passed as @Snille suggested!

                      Mykle1M 1 Reply Last reply Reply Quote 1
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @broberg
                        last edited by

                        @broberg said in MMM-doomsDay - The countdown module,:

                        Finally got around to adding the option to change the text displayed when the doomsDay has passed as @Snille suggested!

                        So I should do a git pull?

                        Create a working config
                        How to add modules

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