Read the statement by Michael Teeuw here.
MMM-MyCalendar
-
@kruemel OK So I made a rather significant change in order to support this. Instead of trying to use the global time format parameter, you now explicitly specify how you would like days, dates and times displayed in your config. This gives you absolute control over everything.
To get the update, navigate to the
MMM-MyCalendar
directory and executegit pull
.IMPORTANT!!
One of the configuration parameters no longer means what it used to. If you usedtimeFormat
to specify if you would like to seerelative
orabsolute
dates for upcoming events, that parameter is now nameduseRelativeDates
, and you can specifytrue
orfalse
(Defaults tofalse
).timeFormat
is now used to specify how you would like to see time displayed. For example, if you wanted 24 hour time with leading zeros, you would specifyHH:mm
(e.g.: 07:00, 23:30, etc).dateFormat
, which was previously used to specify a full string for date and time display is now used JUST to configure how you would like dates to be displayed. (e.g.:MMMM D
for January 2,DD-MMM
for 02-Jan, etc).dayOfWeekFormat
is new and is used to specify how you would like to see weekday names displayed (e.g.:dddd
for Monday,ddd
for Mon, etc.).joiningWord
is the word you would like to see displayed between Day/Date and Time. It defaults toat
(e.g.: January 2at
2:00 PM), so if you do not want a joining word, specify an empty string (i.e.:joiningWord : ""
). In the above example you would configurejoiningWord : "um"
.The module will build the full event date string using bits and pieces of how your configure the items above.
-
You’r great :-)
Thank you very much, it works like a charm. Also happy about the joiningWord.
That makes fun to use with short response from developers ;-)Wish you a nice week and thanks again for your fast adjustment!
-
@kruemel Glad you like the update!
-
Re: MMM-MyCalendar
@j-e-f-f Thanks a lot for the latest update. Now I have a request for an addittion.In the line with the appointment date and time my line in Dutch now reads
“Morgen om 19:00” > “Tomorrow at 19:00”
Can we ad a suffix word like “joiningWord”? In this way I can configure my appointment day and time line as
“Morgen om 19:00 uur” > “Tomorrow at 19:00 hour”
When you don’t want the suffix make it possible to use an empty string like joiningWord (suffixWord : “”)On Github I sent you my proposed file changes.
Thanks in advance.
-
@pjkoeleman you can add that into your
timeFormat
config, like so:timeFormat : "HH:mm [uur]"
Anything in the square brackets will display exactly as you type it.
-
@j.e.f.f
That will do as well, thanks for your repley. -
I love this module. Very nicely made. But i would like to be able to show a calender with every single day + something special to show the holidays(i only use it for holidays now)
Can i create an ical with all the days in it and maybe have a certain color for holidays? -
@Kimzer Do you mean you want to display the whole year? If so that is not what this is designed to do. The thinking behind this is that you really don’t spend a lot of time looking at the mirror, so it only displays information that is immediately useful and that can be consumed in about 30 seconds.
That said, I think I saw a calendar module that displays a month at a time that might be more in line with what you are looking for. Sorry I don’t remember its name but if you do a search I’m sure you’ll find it.
-
-
@Kimzer Consider
MMM-CalendarExt
. It has daily view.(or something more than)