Read the statement by Michael Teeuw here.
MMM-CalendarExt
-
cd ~/MagicMirror/modules/MMM-CalendarExt git pull
-
Hi all!
Is there way to format the date of current and upcoming views? I used
titleFormat: "dddd", overTitleFormat : "dddd",
But still date format is unchanged.
-
-
@sean said in MMM-CalendarExt:
@tabbe
https://github.com/eouia/MMM-CalendarExt/wiki/Configuration#defaultviewUse dateFormat
I did try with that but still it remains unchanged.
current: { title: "Test", dateFormat: "dddd", titleFormat: "dddd", overTitleFormat : "dddd", position: 'top_left', useRelative: 0, limit:2 },
I also tried without other formating and with basic M.D format.
-
@tabbe ‘dddd’ means the weekday name of target date/time. What exactly do you want to display as?
-
@sean
I want to display weekday name, like saturday. -
@tabbe
I think you’ve misseduseRelative
field in your config. the default value ofuseRelative
ofcurrent
&upcoming
is1
ortrue
.
Set it as0
.upcoming: { position: "top_left", dateFormat: "dddd", timeFormat: "HH:mm", limit: 5, useRelative: 0 }
If you want to display only “Saturday” without time, unfortunately it is not supported. (Do you need? e.g. only starting time?)
-
@tabbe
Now, I’ve updated module to display only starting time.
You can set like this;upcoming: { position: "top_left", dateFormat: "dddd", timeFormat: " ", // don't use `""` instead `" "` limit: 5, useRelative: 0, onlyStartingTime: 1, }
And you can see like this.
-
@sean
This is weird. I did update module and still not getting like that.:~/MagicMirror/modules/MMM-CalendarExt$ git pull Already up-to-date.
Also, I would like it to be on current since it shows current date event. What I am trying to show is birthdays and suchs.
-
@tabbe
Hmmm. weird,
As you can see on github page, 40mins ago I updated the module.
And you can use that config incurrent
view also.(above is just sample)