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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login