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.

    birthdaylist

    Scheduled Pinned Locked Moved Solved Requests
    module
    41 Posts 3 Posters 28.7k Views 3 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 @MyMirror
      last edited by

      @MyMirror the sample file is in

      DD/MM/YYYY format

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • M Offline
        MyMirror @sdetweil
        last edited by

        @sdetweil

        Yes, of course.
        What should i try?
        Add this:
        15/01/1987,suzie
        12/05/1951, Sam

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

          @MyMirror that second line shouldbe there already, do this

          cd ~/MagicMirror/modules/birthdaylist
          git checkout data/bdl.csv
          

          then look at the file again

          it should start like mine
          suzie on the second line

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MyMirror @sdetweil
            last edited by

            @sdetweil

            my bdl.csv:
            bdl_data.png

            my output:
            Birthday_screenshot_3.jpg

            4 lines

            M S 3 Replies Last reply Reply Quote 0
            • M Offline
              MyMirror @MyMirror
              last edited by

              @sdetweil

              is a blank needed before “Suzie”?

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

                @MyMirror correct

                the bd on Dec 19th is in the past, and u have

                dimmEntries: false

                so, past BD’s are not dispplayed

                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 @MyMirror
                  last edited by

                  @MyMirror said in birthdaylist:

                  is a blank needed before “Suzie”?

                  no, I trim off blanks… allow for sloppy editing/pasting

                  all entries have to have the same date format

                  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 @MyMirror
                    last edited by

                    @MyMirror the csv file format is

                    the header row,

                    birth  ,  name
                    

                    and then
                    rows for each person

                    birthday , name
                    

                    the birthday format can be in whatever format you like
                    MM/DD/YYYY
                    DD/MM/YYYY
                    YYYY/DD/MM
                    YYYY/MM/DD

                    using whatever separator you choose

                    the layout and separator have to be the same for all birthday rows

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      MyMirror @sdetweil
                      last edited by MyMirror

                      @sdetweil
                      OK, my mistake :worried_face:
                      I misinterpreted currentMonthOnly: and assumed that all maxEntries would then be displayed (for more than 2 month).
                      But with “false”, the current and the following month are displayed.
                      Sorry for the trouble :flushed_face:
                      (There was no entrie for January in my data file)

                      S 2 Replies Last reply Reply Quote 0
                      • S Offline
                        sdetweil @MyMirror
                        last edited by

                        @MyMirror yes, I already had support for next month dec=>jan
                        just sort was broken.

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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