• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-CountUP (COVID19 example)

Scheduled Pinned Locked Moved Utilities
45 Posts 6 Posters 9.0k Views 6 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.
  • B Offline
    Bromley47 @sonicgoose
    last edited by Apr 17, 2020, 11:54 AM

    @sonicgoose My apologies for multiple postings - just didn’t know which category would be best!
    I have got the module to show on the Mirror (thanks to TimerWolf) I positioned in the top bar and it shows OK, but although I set the date to 2020-03-16 it seems not to count from that date (33 days?) and shows 2 days on the Mirror. Also would like to just count days and maybe hours, not interested in minutes or seconds!!

    S S 2 Replies Last reply Apr 17, 2020, 12:42 PM Reply Quote 0
    • S Offline
      sdetweil @Bromley47
      last edited by sdetweil Apr 17, 2020, 12:45 PM Apr 17, 2020, 12:42 PM

      @Bromley47 said in MMM-CountUP (COVID19 example):

      just didn’t know which category would be best!

      yah pick one… I’ll delete the other two

      you could ask one of us moderators to move it if you don’t get the kind of response you think you need…
      (there are no commitments that anyone will reply on this forum)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        sonicgoose @Bromley47
        last edited by Apr 17, 2020, 1:17 PM

        @Bromley47 How did you get it to show up? I don’t see a solution here and the other posts appear to now be gone.

        S B 3 Replies Last reply Apr 17, 2020, 1:34 PM Reply Quote 0
        • S Offline
          sdetweil @sonicgoose
          last edited by Apr 17, 2020, 1:34 PM

          @sonicgoose neither of those two topics had any technical content

          he said here

          I have got the module to show on the Mirror (thanks to TimerWolf)

          I don’t know who that is

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • B Offline
            Bromley47 @sonicgoose
            last edited by Apr 17, 2020, 3:39 PM

            @sonicgoose If you go to github and search for the MMM-CountUP module there you will see my config file and some helpful suggestions. Although still cannot solve start time (33 days ago) and remove mins and secs. Need someone more expert than me…!

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @sonicgoose
              last edited by Apr 17, 2020, 3:55 PM

              @sonicgoose @Bromley47’s problem was he put the config on the wrong module definition in config.js

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • B Offline
                bhepler Module Developer
                last edited by Apr 17, 2020, 4:10 PM

                I haven’t played with this module yet. Does it require a specific date format? “2020-04-01” can be written as “2020-01-04” depending on which country you’re using as a default format.

                It has been my experience that Javascript is absolutely rubbish with dates.

                B 1 Reply Last reply Apr 17, 2020, 5:39 PM Reply Quote 0
                • B Offline
                  Bromley47 @bhepler
                  last edited by Apr 17, 2020, 5:39 PM

                  @bhepler The read me for this module shows the date format as YYYY-MM-DD so I entered 2020-03-16 because I wanted it to run from 16th March 2020 which up until today is 33 days, but it only shows 2 days on the Mirror?

                  S 1 Reply Last reply Apr 17, 2020, 6:25 PM Reply Quote 0
                  • S Offline
                    sdetweil @Bromley47
                    last edited by sdetweil Apr 17, 2020, 11:47 PM Apr 17, 2020, 6:25 PM

                    @Bromley47 try 2020-02-16

                    I bet he didn’t adjust the month. Date/moment code uses 0 as january
                    I opened issue on the module github site
                    https://github.com/bibaldo/MMM-CountUP/issues/3

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    B 1 Reply Last reply Apr 18, 2020, 9:59 AM Reply Quote 0
                    • B Offline
                      Bromley47 @sdetweil
                      last edited by Apr 18, 2020, 9:59 AM

                      @sdetweil Hi Sam - thanks for your continued interest in this - I tried the 2020-02-16 date but still showing 2 day??

                      S 1 Reply Last reply Apr 18, 2020, 11:45 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 1 / 5
                      1 / 5
                      • First post
                        10/45
                        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