@shall_ @alaric10000
It happens when the event is regarded as FulldayEvent but not to start at 0 O’clock. I updated the module to fix it.
https://github.com/MMRIZE/MMM-CalendarExt3/pull/141
Update the module and check it.
Read the statement by Michael Teeuw here.
Posts made by MMRIZE
-
RE: MMM-CalendarExt3 BST Timezone issue
-
RE: MMM-CalendarExt3 BST Timezone issue
@shall_
Can you send me the ics file? (eouia0819@gmail.com) -
RE: code c++ ??
@ludoRaspberry
Well, ideally there is a way to compile C/C++ codes to Native Node JS library to use inside of nodeJS, however it is not so easy. -
RE: MMM-CalendarExt3 BST Timezone issue
@shall_
CX3 doesn’t parse ics file directly, so probably the default calendar app (or any event provider) must have responsibility.But for an instant solution, you can use
preProcessor
orevent payload
to make a hotfix by force.BEFORE
/* in your CX3 module config */ preProcessor: (event) => { if (["SomeCalendarName", "AnotherCalendarName"].includes(event.calendarName)) { event.startDate = Number(event.startDate) - 1000 * 60 * 60 event.endDate = Number(event.endDate) - 1000 * 60 * 60 } return event }
AFTER
If all your calendar has that issue, you can omit if statement.
preProcessor: (event) => { event.startDate = Number(event.startDate) - 1000 * 60 * 60 event.endDate = Number(event.endDate) - 1000 * 60 * 60 return event }
-
RE: MMM-CalendarExt3
@flemmingss
Set enough ‘maximumEntries’, ‘maximumNumberOfDays’ and ‘pastDaysCount’ of the default calendar. -
RE: Live phone location
@daryl_thorpe
https://github.com/eouia/MMM-Whereis
This is not the exact one you want, but similar. -
RE: MMM-CalendarExt3
@flemmingss
Your RAR is not downloadable by security issue. Anyway, is thereCX3_Shared/CX3_Shared.mjs
in position? Your error log says it is not accessible on your system. -
RE: MMM-CalendarExt3
@flemmingss
You may still need to complete the installation of the module. You may have missed these instructions on installation;npm install git submodule update --init --recursive
Or, you are using Docker, and for some reason,
css/custom.css
andmodules/MMM-CalendarExt3/CX3_Shared/CX3_Shared.mjs
seems not being loaded. I’m not familiar with Docker so not sure. -
RE: MMM-CalendarExt3
I copied your config and test works.
To check whether there is issue;
- Open the front-end dev-console in the browser (Ctrl+Shift+i) and see the console tab, find any suspicious issue.
- Or install
MMM-LogExt
to record the front-end logs into the backend log.
-
RE: Need help with modules not displaying
@Illimar said in Need help with modules not displaying:
getDaysLeft()
anddateFormat()
are defined as member methods of the module, but you are using them as general functions.var days = getDaysLeft(i);
It should be;
var days = this.getDaysLeft(i);
Or, even better is; to define
getDaysLeft
as a general function inside ofgetDom()
, because only there the function is used once and nowhere else. It doesn’t need to be defined as a member of the module.getDom: function() { const getDaysLeft = (i, config) => { const date = Date.now(); ... } let wrapper = document.createElement('div'); wrapper.style.color = this.config.textColor; for (let i in this.config.dates) { let days = getDaysLeft(i, this.config); ...