Read the statement by Michael Teeuw here.
Calendar Date Formats Not Working.
-
Module = Calendar
Issue = Trying to get the date format is DD/MM/YYYY currently in default even when specified not to. Don’t know if I am incorrectly specifying.
Current Module Config = {
module: “calendar”,
header: “My Calendar”,
position: “top_left”,
config: {
maximumEntries: “6”,
maximumNumberOfDays: “7”,
wrapEvents: “true”,
maxTitleLines: “2”,
fadePoint: “1”,
dateFormat: “Do MMM”,
hideTime: “true”,
fetchInterval: “60000”,
calendars: [
{
symbol: “calendar-check”,
url: “webcal://p39-caldav.icloud.com/published/2/MTExNjgwMjM2NTExMTE2OIZFb1PsCmMo3ecwDd6H7xOGtd_rniDwbBvisBnUUbTo”
},
{
symbol: “calendar-check”,
url: “webcal://p39-caldav.icloud.com/published/2/MTExNjgwMjM2NTExMTE2OIZFb1PsCmMo3ecwDd6H7xPI-y3Ntq2MNAzfi5poNWuySmEYsiAGaraNGLnR7zZorrG5xXn8wrtERNCCDMDMxcw”
}
]
}
} -
@jack_barnard must use tineFormat: ‘absolute’ to turn on those controls
-
@sdetweil
Thanks that has helped a bit but the date still won’t display in DD/MM/YYYY which should the value be for dateFormat: “”? -
@jack_barnard https://devhints.io/moment
https://docs.magicmirror.builders/modules/calendar.html
there are also fullDayEventDateFormat
-
@sdetweil
Thanks for pointing me in the right direction but I don’t understand the moments formating for dates could you explain further on how to setup the correct format? -
@jack_barnard I’ve got mine setup like this:
timeFormat: 'absolute', dateFormat: 'DD/MM/YYYY', fullDayEventDateFormat: 'DD/MM/YYYY',
Hope this helps :)
-
@tippon
Thanks this now working perfectly.