A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Calender: CustomEvents is not transform/replacing text correctly
-
Hello, i am using 2.26 and have some issues with Calender.
I am trying to replace a Title like “Wertstoffe 1100L 2-wöchentlich” with “Gelbe Tonne”.
My CustomEvent:customEvents: [ {keyword: 'Wertstoffe', transform: { search: '.*' , replace: 'Gelbe Tonne'}} ]
My output is: GelbeTonneGelbeTonne
From my understanding if “Wertstoffe” is found in a title, search ‘.*’ will pick the whole Line and completely replace with my new string.
What could be the issue here ?
Regards,
Wolfgang -
@WookyDO can you show me the event from the ICS file?
curl -sL cal_url >someicsfile.txt
then edit to find the
BEGIN:VEVENT .... ... END:VEVENT