People in my household like to use Google's suggested locations in Google Calendar. Those locations often have a bit too much information which means the location displayed on my MagicMirror gets very long.
Would it be possible to add an option like maxTitleLength that cuts the location after a certain amount of characters?
{
module: "MMM-CalendarWeek",
position: "top_left",
config: {
maximumNumberOfDays: "2",
displayLocation: true,
showEndDate: true,
maximumDaysPerLine: "1",
maximumEntries: "7",
calendars: [
{
symbol: "calendar",
url: "https://calendar.google.com/calendar/ical/xxx/basic.ics"
}
]
}
},
People in my household like to use Google's suggested locations in Google Calendar. Those locations often have a bit too much information which means the location displayed on my MagicMirror gets very long.
Would it be possible to add an option like
maxTitleLengththat cuts the location after a certain amount of characters?