Im struggling to get anything to show in my setup for daily and current bars.
I have three local ics-calendars in my MM-Folder that ive adressed in my config, only calendar for “upcoming” bar shows up.
Config >
modules: [
{
module: 'MMM-CalendarExt',
position: "top_left", //anywhere. It is not related to real position of view
config: { // Read below
system:{
show: ['daily', 'upcoming', 'current'],
locale: 'sv-SV', //when omitted, default value would be your system default locale by moment.js
showEmptyView: 1,
fullDayEventLocalize: 1,
redrawInterval: 30*60*1000, //minimum 60000
useProfileConfig: 0,
startProfile: ''
},
defaultView: {
position: 'bottom_bar',
positionOrder: -1,
overflowRolling: 0,
overflowHeight: 0,
overflowDuration: 2,
onlyStartingTime: 0,
timeFormat: 'HH:mm',
dateFormat: "MMM Do",
fullDayEventDateFormat: "MMM Do",
ellipsis: 0,
limit:1,
oneLineEvent:0,
replaceTitle:[],
classPattern:[],
classPatternWhere:["title"],
symbolPattern:[],
symbolPatternWhere:["title"]
},
views: {
weeks: {
showWeeks: 1,
weeksTitle: 'Veckor',
weeksFormat: 'wo',
weekdayFormat: 'dd',
titleFormat : 'MMM D',
overTitleFormat : 'MMM D',
counts: 2,
},
daily: {
direction: 'row',
counts: 5,
titleFormat: "D",
overTitleFormat: "MMM D",
subtitleFormat: "ddd",
},
weekly: {
direction: 'row',
counts: 4,
titleFormat: "wo",
overTitleFormat: "gggg wo",
subtitleFormat: "MMM Do",
},
current: {
title: 'Aktuell',
useRelative: 1
},
upcoming: {
title: 'Kommande',
useRelative: 1
},
},
defaultCalendar: {
profiles: [],
views: ['daily'],
symbol: "",
styleName: "",
replaceTitle:[],
classPattern: [],
classPatternWhere: ["title"],
symbolPattern: [],
symbolPatternWhere: ["title"],
maxEntries:50,
maxDays:180,
interval: 1800000,
},
calendars: [
{
name: "Namnsdagar",
url: "webcal://localhost:8080/modules/ics/namedays.ics",
profile: [],
views: ['daily', 'current', 'upcoming'],
styleName: "style1",
symbol: 'us@fi',
maxEntries: 50,
maxDays:365,
interval: 24*60*60*1000,
},
{
name: "Helgdagar",
url: "webcal://localhost:8080/modules/ics/se_holidays.ics",
profile: [],
views: ['daily', 'current', 'upcoming'],
styleName: "style1",
symbol: 'se@fi',
maxEntries: 50,
maxDays:365,
interval: 24*60*60*1000,
},
{
name: "Ansvarsvecka",
url: "webcal://localhost:8080/modules/ics/Ansvarsvecka.ics",
profile: [],
views: ['daily', 'current', 'upcoming'],
styleName: "style1",
symbol: 'se@fi',
maxEntries: 50,
maxDays:365,
interval: 24*60*60*1000,
},
],
}
},
{
module: "calendar",
header: "Helgdagar",
position: "top_left",
config: {
calendars: [
{
fetchInterval: 7 * 24 * 60 * 60 * 1000,
symbol: "calendar-check",
url: "webcal://localhost:8080/modules/ics/se_holidays.ics"
}
]
}
},