How to add custom birthdays to the calendar module?
Hello. I would like to add custom birthdays to the calendar module like I could in the first magic mirror. Ive tried a couple things and cant get it to work. Is there a certain place that i need to enter the data, and a format that has to be used to get them to show.
@vifurimi the calendar has never been different for me, now 3 years in. can u describe what you used to be able to do?
@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
@sdetweil Well that’s awesome!, thank you sir! I will give it a try later.
@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  Jul 10th
My Anniversary  Aug 15th
Walter Birthday  Oct 23rd
And also to show the next 5 or 10 events rather than the next 30days?
@doogy_rev let me look at it
I can easily add the age and date format
date format, use moment formats…
like here https://devhints.io/moment
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?
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
@doogy_rev ok, git pull , review the README
by default it operates on current month only