• 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.

read csv-data and put it in an array

Scheduled Pinned Locked Moved Utilities
313 Posts 3 Posters 408.6k Views 4 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.
  • S Offline
    sdetweil @Perlchamp
    last edited by sdetweil May 2, 2020, 5:47 PM May 2, 2020, 5:43 PM

    @Perlchamp ok, I think you can fix those… age is a date diff()… add to results

    edit: age needs more work that just number… because they were comparing MONTH, but age was exact days.

    so I change my bd to may, but TODAY I am 68… in may i WILL BE 69 (in the future)
    so if TODAY or before, do NOT add one, if tomorrow or after (in the month) add 1

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • P Offline
      Perlchamp
      last edited by May 2, 2020, 5:47 PM

      i think, too. thanks very much, sam. I don’t know how to thank you Thank you very much !
      you’re great !
      and it is up to you whether you publish this module. I will not adorn myself with foreign feathers!

      S 2 Replies Last reply May 2, 2020, 5:48 PM Reply Quote 0
      • S Offline
        sdetweil @Perlchamp
        last edited by May 2, 2020, 5:48 PM

        @Perlchamp its not my module… its yours…

        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 @Perlchamp
          last edited by May 2, 2020, 5:49 PM

          @Perlchamp see how interesting ‘just a birthday list’ can be! and u still have styles to apply etc

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            Perlchamp
            last edited by Perlchamp May 2, 2020, 5:51 PM May 2, 2020, 5:50 PM

            I do not think so. I could never answer questions about any problems …
            i did:

            ... age='+(person.age + 1);
            

            the styles you could get from me, no problem. it’s just fair, isn’t it ?

            S 1 Reply Last reply May 2, 2020, 5:51 PM Reply Quote 0
            • S Offline
              sdetweil @Perlchamp
              last edited by May 2, 2020, 5:51 PM

              @Perlchamp should be wrong for people with birthday yesterday

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • P Offline
                Perlchamp
                last edited by Perlchamp May 2, 2020, 5:55 PM May 2, 2020, 5:53 PM

                ah, oooook … hm. shooted to fast. but let me figured out by myself, cause i don’t wonna feel like a baby … i think if-statements and moment() could be helpfully.

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Perlchamp
                  last edited by Perlchamp May 2, 2020, 6:00 PM May 2, 2020, 5:59 PM

                  general question:
                  is there something like “print”? (for debugging) or have i use innerText or innerHTML or Log.log ? … to display something on screen ?

                  S 1 Reply Last reply May 2, 2020, 6:00 PM Reply Quote 0
                  • S Offline
                    sdetweil @Perlchamp
                    last edited by May 2, 2020, 6:00 PM

                    @Perlchamp Log.log only

                    did u see my chat message about fixing a bug in the MMM-Logging module

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Perlchamp
                      last edited by May 2, 2020, 6:01 PM

                      i will have a look on it, though MERCI !

                      S 1 Reply Last reply May 2, 2020, 7:55 PM Reply Quote 0
                      • 1
                      • 2
                      • 17
                      • 18
                      • 19
                      • 20
                      • 21
                      • 31
                      • 32
                      • 19 / 32
                      19 / 32
                      • First post
                        183/313
                        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