Read the statement by Michael Teeuw here.
How to display start and end times/dates of events in calendar
-
Hi,
Do you know if it is possible to display both the start and end time/date for entries with the default calendar module.
The config I’m using isconfig: { timeFormat: 'absolute', showEnd: true, urgency: 0, getRelative: 0, fetchInterval: 2 * 60000, calendars: [ { symbol: "calendar-check",
When showEnd is true only end times are displayed. When showEnd is false no times are displayed.
Thanks
-
@MikeSeveno i believe the default calendar module will only display one date/time, start or end
-
@sdetweil Thanks very much Sam. I don’t seem to be able to ever get the start time to display.
-
@MikeSeveno from here
https://momentjs.com/docs/#/parsing/string-format/
dateFormat: "YYYY-MM-DDTHH:mm:ss"
-
Thanks that was really useful. My revised config is:
(start and end date/time, one of many possible formats)config: { dateFormat: "llll",
// dateEndFormat: “YYYY-MMDDTHH:mm:ss”,
dateEndFormat: “llll”,
timeFormat: ‘absolute’,
showEnd: true,
urgency: 0,
getRelative: 0,
fetchInterval: 2 * 60000,calendars: [ {
I found this site a bit easier to follow:
https://devhints.io/moment