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

How to add custom birthdays to the calendar module?

Scheduled Pinned Locked Moved Troubleshooting
27 Posts 4 Posters 6.0k Views 5 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 @vifurimi
    last edited by Jul 24, 2020, 1:42 PM

    @vifurimi the calendar has never been different for me, now 3 years in. can u describe what you used to be able to do?

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    D 1 Reply Last reply Jul 9, 2021, 4:31 PM Reply Quote 0
    • D Offline
      doogy_rev @sdetweil
      last edited by Jul 9, 2021, 4:31 PM

      @sdetweil I have had my mirror for 5 years and back in the day we could link to a csv file that would display in the calendar. This feature was removed in favour of cloud calendar integration. I am looking for something like this also as I was to be able to add birthdays/anniversaries that are not in my google calendar, with out having to add them to it

      S 1 Reply Last reply Jul 9, 2021, 4:41 PM Reply Quote 0
      • S Offline
        sdetweil @doogy_rev
        last edited by Jul 9, 2021, 4:41 PM

        @doogy_rev I have a little module that I wrote with another user

        birthday list from csv

        https://github.com/sdetweil/birthdaylist

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 2 Replies Last reply Jul 9, 2021, 5:34 PM Reply Quote 0
        • D Offline
          doogy_rev @sdetweil
          last edited by Jul 9, 2021, 5:34 PM

          @sdetweil Well that’s awesome!, thank you sir! I will give it a try later.

          1 Reply Last reply Reply Quote 0
          • D Offline
            doogy_rev @sdetweil
            last edited by Jul 10, 2021, 2:58 PM

            @sdetweil This works great, thanks again!. How easy would it be to have this updated to match the look and feel of the default calendar? Something like this for example…

            Dave Birthday [37] Jul 10th
            My Anniversary [12] Aug 15th
            Walter Birthday [52] Oct 23rd

            And also to show the next 5 or 10 events rather than the next 30days?

            S 2 Replies Last reply Jul 10, 2021, 3:56 PM Reply Quote 0
            • S Offline
              sdetweil @doogy_rev
              last edited by Jul 10, 2021, 3:56 PM

              @doogy_rev let me 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 @doogy_rev
                last edited by Jul 10, 2021, 5:59 PM

                @doogy_rev

                I can easily add the age and date format
                date format, use moment formats…
                like here https://devhints.io/moment
                dateFormat=“Do”
                ageFormat , some string with ‘m’ in it and I will replace n with the age
                ageFormat : “[ n ]” // produces [ 23 ]

                the other, limit number of entries

                this is designed around birthdays this month (and show or not show those already occurred this month)

                I can let u truncate the list at n entries, (1st 5 birthdays this month)

                and I think there is a way to allow month cross over… 3 this month, 2 this month of the limit of 5, 1 month cross over at end f year… so show Dec and Jan, but not February (until Jan is curent month)

                is that what you are looking for?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • D Offline
                  doogy_rev
                  last edited by Jul 10, 2021, 6:14 PM

                  @sdetweil said in How to add custom birthdays to the calendar module?:

                  https://devhints.io/moment

                  That sounds great and yes that’s kinda what I was looking for, the month cross over sounds good, This is how I have the default where it will only show the next 5 holidays so have the birthdays work the same way (or as near as), then past birthdays for the month drop off the list

                  Screen Shot 2021-07-10 at 11.07.44 AM.png

                  S 1 Reply Last reply Jul 10, 2021, 7:54 PM Reply Quote 0
                  • S Offline
                    sdetweil @doogy_rev
                    last edited by Jul 10, 2021, 7:54 PM

                    @doogy_rev ok, git pull , review the README

                    by default it operates on current month only

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      doogy_rev
                      last edited by Jul 10, 2021, 10:23 PM

                      Installed and working :-) Thanks for looking at this for me!

                      I am going to play with the CSS and change some of the colours a bit. I did notice the following . .

                      • If birthdays are shared date, then the second/third entry is in bold (see screen shot Aug 12th)

                      • when you specify number of entires it adds additional, I specified 5, but 6 are showing

                      • is it possible to have date aligned right and keep age after the name “doogyrev Birthday [45] Oct 1st”

                      • where do I change font to not be all uppercase?

                      Screen Shot 2021-07-10 at 3.14.37 PM.png

                      S 2 Replies Last reply Jul 10, 2021, 10:46 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 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