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 35.0k 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
                        • S Offline
                          sdetweil @MyMirror
                          last edited by

                          @MyMirror I just pushed a change to display a message
                          when no birthdays are found to display given the current settings

                          I also added support to translate that message into the language set in the MM config…

                          I provided files for english, french, german, italian and spanish

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

                            @sdetweil

                            One more request/question:
                            Could you add the month as a picture?
                            If you set this option “currentMonthOnly: false” (which I find very good), then a month without an entry can lead to misunderstandings.

                            Example:
                            We have January and no entry for January in the bdl.csv.
                            But on February 10.
                            This would look like the next birthday is now on January 10, right?
                            In this respect, is it possible to display the month as well?

                            Jens

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

                              @MyMirror currently the module is designed only to display the day. IN THE CURENT MONTH.
                              let me think about this

                              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 ok, git pull again

                                add
                                withMonth: true,

                                to the config parms…

                                note that the image is 27px square, so the space for text is small…
                                to fit, I made new css classes with a smaller font size when showing month

                                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

                                  Excellent - 5 stars for you!
                                  Great job!

                                  Jens

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    pulser
                                    last edited by

                                    @sdetweil

                                    thanks for this module, first of all.

                                    upcoming months are sorted correctly, but current month is on the bottom. how can we get current month on top?

                                    01062024.jpg

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

                                      @pulser I’ll look at it

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

                                        @pulser do

                                        git pull
                                        

                                        in the module folder

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

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

                                          @sdetweil

                                          Maybe other idea for “day/month”?
                                          Day_Month.png
                                          Possible?

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

                                            @MyMirror not without some redesign.

                                            the image we picked originally was only supposed to hold the day number
                                            there is no up/down room, each line would have to get taller

                                            and for US the month would have to come first…

                                            so it gets harder and harder…

                                            anyone that wants to try, fork the module and go for it…

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • 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