A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Default calendar customEvents not working
-
@pauabaer you needed to escape the \ with another backslash
in the string… its a javascript thingas I noted in my prior post
also remove the leading / -
@sdetweil
I did. But…I got the feeling i am not far away from the solution. Have still patient to bring me to that point? :)
-
@pauabaer do you still see the same error in the dev console?
-
-
It’s not the error I saw before.
-
@pauabaer ok, i am at grandson baseball for a while
-
@sdetweil
Ok. Let me know when you are back and can help again.
Thanks a lot. -
@pauabaer I’m back
my config for customEvents is
{ keyword: "Gerburtstag", symbol: "birthday-cake", transform: { search: "^([^\\s]+) (\\d{4}) Gerburtstag$", replace: "$1 ($2)", yearmatchgroup: 2 } }
my test calendar event title (from the summary field in the actual ICS data) is
SUMMARY:test 1986 Gerburtstag
the debug line in the parser is
[2025-05-25 16:08:47.371] [DEBUG] title: test 1986 Gerburtstag
I walked thru the code and it worked as expected…