how did you get the sun/moon to come up and in color like that ?
could you post some of the code to that
how did you get the sun/moon to come up and in color like that ?
could you post some of the code to that
The console logs display this, sorry dont know what it means
Uncaught TypeError: console.log is not a function MMM-Traffic.js.135
at Class.socketNotificationRecieved (MMM-Traffic.js.135)
at module.js.250
at socket. <anonymous> (socketclient.js.39)
at Socket../node_modules/component-emitter/index.js.Emitter.Emit (index.js.145)
at Socket.emitEvent (socket.js.253)
at Socket.onevent (socket.js.240)
at Socket.MMSocket.self.socket.onevent (socketclient.js.33)
at Socket.onpacket (socket.js.204)
at Manager.<anonymous> (index.js.21)
at Socket../node_modules/component-emitter/index.js.Emitter.Emit (index.js.145)
@mrega you were close
fade : false,
timeFormat : "absolute",
dateFormat : "DD MMM",
that fixed it thank you !
can you explain what the follow is 'Fade: false/ true ’ what does this refer to or alter?
and what does the “absolute” refer back too ?
mine doesn’t even display the default date as per this doc, I would copy a picture but it has a bunch of private appointments in there.
Default value: MMM Do (e.g. Jan 18th)
mine displays (for example)
'appointment 03/10/2021
not sure if this is what you mean, but still nothing changes, all dates are still MM/DD/YYYY
Showtime: “absolute”, no idea where this is mentioned in the document, unsure where it goes.
dateFormat - config option, in the configuration
// The config property is optional.
// If no config is set, an example calendar is shown.
// See ‘Configuration options’ for more information.
{
module: “calendar”,
header: “AU Holidays”,
position: “top_left”,
config: {
showtime: "absolute",
dateFormat: “DD MMM”,
calendars: [
{
symbol: “calendar-check”,
url: “https://calendar.google.com……”
},
]
},
},
as for reading the document, I have ctrl+f ’ showtime’ , ‘Not calendar’ all these things you mention in each post, so unless we are reading different documents … I have zero idea where you are getting the information from
you can keep being condescending as much as you want, trying my best i have been doing this for around 7 days.
This thread could of been 3 posts long, describe the issue, post an answer with an explanation and a last reply of thankyou this helps alot.
does the showtime: “absolute”, go out of the modules up where it has language, log level, timeformat, units?
i tried in there didnt make any difference
i put in down in the module in serval places didnt change, tried both “L” and “DD MMM” on the dateFormat.
{
module: “calendar”,
header: “AU Holidays”,
position: “top_left”,
config: {
calendars: [
{
symbol: “calendar-check”,
url: “https://calendar.google.com……”
dateFormat: “L”,
},
]
},
},
this is my current config code, i have tried placing it in both positions as shown (one at a time) still doesnt change anything on the calendar.
I got the ‘L’ command from here https://momentjs.com/docs/#/parsing/string-format/
DD MMM didnt work
{
module: “calendar”,
header: “AU Holidays”,
position: “top_left”,
config: {
dateFormat: “L”,
calendars: [
{
symbol: “calendar-check”,
url: “https://calendar.google.com……”
dateFormat: “L”,
},
]
},
},
i get it sam, you can paste the user guide and documents all day. i have read them but dont understand the format them hence my posts.
evening all,
I just need to change the format on my calendar for up coming events which is being displayed in US format MM/DD/YYYY
I would like to change it to DD MMM
{
module: “calendar”,
header: “AU Holidays”,
position: “top_left”,
config: {
dateformat: “DD MMM”,
calendars: [
{
symbol: “calendar-check”,
url: “https://calendar.google.com…” }
]
}
},
https://docs.magicmirror.builders/modules/calendar.html#configuration-options
where does the ‘dateformat’ go?
IS DD MMM a correct format?
in my Mapbox account i see there have been 11 API requests (from 100,000 free) using the ‘default public token’ in the account page.
so i think its using the data, but my MM is just sitting on :
(car icon) Loading …