@sdetweil The timeFormat is relative by default. I used getRelative: 0 without changes at the display. Also with timeFormat: “absolute” only the display changed since hours instead of remaining hours. But with an additional urgency: 0 it works. Thank you, Sam!
Oh yes, an adjustment of the format was also necessary. The dateFormat was no longer applied.
Before:
{
module: "calendar",
header: "Feiertage",
position: "top_left",
config: {
dateFormat: "D. MMM",
displaySymbol: false,
broadcastEvents: false,
hideTime: true,
fadePoint: 0.05,
fetchInterval: 24 * 60 * 60 * 1000, // 1 day
calendars: [
{
maximumEntries: 3,
url: "webcal://localhost:8080/modules/calendar/feiertage.ics"
}
]
}
},
After changes:
{
module: "calendar",
header: "Feiertage",
position: "top_left",
config: {
dateFormat: "D. MMM",
displaySymbol: false,
broadcastEvents: false,
hideTime: true,
timeFormat: "absolute",
getRelative: 0,
urgency: 0,
fullDayEventDateFormat: "D. MMM",
nextDaysRelative: true, // shows Tomorrow and Today
fadePoint: 0.05,
fetchInterval: 24 * 60 * 60 * 1000, // 1 day
calendars: [
{
maximumEntries: 3,
url: "webcal://localhost:8080/modules/calendar/feiertage.ics"
}
]
}
},
I can well do without the “today”.
[image: 1632138117446-mmm-default-calendar_2.png]
Edit: The “Today” comes with the setting: nextDaysRelative: true.