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

birthdaylist

Scheduled Pinned Locked Moved Solved Requests
module
41 Posts 3 Posters 19.9k 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 Dec 29, 2023, 6:57 PM

    @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 Dec 29, 2023, 7:06 PM

      @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 Dec 29, 2023, 7:11 PM Reply Quote 0
      • M Offline
        MyMirror @sdetweil
        last edited by MyMirror Dec 29, 2023, 7:15 PM Dec 29, 2023, 7:11 PM

        @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 Dec 29, 2023, 7:17 PM Reply Quote 0
        • S Offline
          sdetweil @MyMirror
          last edited by Dec 29, 2023, 7:17 PM

          @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 Dec 30, 2023, 6:01 PM

            @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 Jan 2, 2024, 4:09 PM

              @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 Jan 2, 2024, 4:11 PM Reply Quote 0
              • S Offline
                sdetweil @MyMirror
                last edited by Jan 2, 2024, 4:11 PM

                @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 Jan 2, 2024, 5:24 PM

                  @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 Jan 2, 2024, 6:20 PM Reply Quote 0
                  • M Offline
                    MyMirror @sdetweil
                    last edited by Jan 2, 2024, 6:20 PM

                    @sdetweil

                    Excellent - 5 stars for you!
                    Great job!

                    Jens

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pulser
                      last edited by Jan 6, 2024, 12:41 PM

                      @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 Jan 6, 2024, 1:02 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 3 / 5
                      3 / 5
                      • First post
                        28/41
                        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