Read the statement by Michael Teeuw here.
calendar module - format today events with time
-
@sdetweil Thank you for the quick reply.
IfI seturgency: 1
then an appointment for today is displayed like this
Test appointment in 4 hours
but I would like to have the display
Test appointment today, 17:00
how can I achieve this?
thanks
Josef -
@spitzlbergerj , das nervt mich auch schon länger. Vielleicht gibt es ja eine Lösung. - …this has been bothering me for a long time. Maybe there is a solution.
-
@spitzlbergerj according to the code
showTimeToday must be false, and dateFornat must be ‘relative’, not absolute
-
@sdetweil Thanks again for your answer. But that unfortunately still does not do the whole job
config:
maxTitleLength: 21, wrapEvents: false, dateFormat: "ddd, D.MMM, HH:mm", fullDayEventDateFormat: "ddd, D.MMM", timeFormat: "relative", getRelative: 12, urgency: 1, showEnd: false, maximumEntries: 6, fade: false, hidePrivate: false, nextDaysRelative: true, sliceMultiDayEvents: false, showTimeToday: false,
result:
I actually just want the display like with timeformat: “absolute”. Only that with the current day simply “Today” is indicated and the same perhaps also with “Tomorrow”.
desired result:
Unfortunately I am too little experienced in coding the MagicMirror programs. Otherwise I would suggest a change for this, if the behavior is not achievable with the current settings.
Could you, dear @sdetweil, do that? Thanks a lot
Josef
-
@spitzlbergerj no way without significant code changes… sorry
you can ‘most’ of the way there with
timeFormat: "relative", getRelative: 1, showTimeToday: false,
1st is full day
2nd is upcoming in 3 hours -
@sdetweil Thanks a lot for your help! I’ll try it in this way