Read the statement by Michael Teeuw here.
show End in Calendar Config
-
@cweinhofer AND you have to set timeFormat:‘absolute’
and u MAY have to change the getRelative and other settings…
way too many settings
config: { showEnd:true, timeFormat:"absolute", urgency:0, getRelative:0,
-
I agree. The number of settings and their interrelatedness is a little overwhelming.
My config already has the other three settings
{ module: "calendar", position: "right", config: { maximumNumberOfDays: 2, displaySymbol: true, fetchInterval: 15 * 60 * 1000, fade: false, urgency: 0, timeFormat: "absolute", dateFormat: "ddd", fullDayEventDateFormat: "ddd", showEnd: true, getRelative: 0, showTimeToday: true, colored: false, calendars: [ { url: "https://calendar.google.com/calendar/ical/ ... /basic.ics", symbol: "c", }, { url: "https://calendar.google.com/calendar/ical/ ... /basic.ics", symbol: "j", }, { url: "https://calendar.google.com/calendar/ical/ ... /basic.ics", symbol: "t", }, ], } },
** I deleted and reposted my entry from yesterday becuse I realized in my various testing I had left off one of the options. This is my actual config. **
-
@cweinhofer your dateFormat says only show date
-
Thanks, @sdetweil That was the ticket.
From both the name of the option and the fact that the description and example don’t say anything about including a time format, I assumed this was not the place to set that.
I think I had even tried doing it at one point and it didn’t work – but I probably hadn’t tried it with
urgency:0
andgetRelative:0
set.I’m going to put in a pull request to try to make this a little less confusing for others in the future. Can you tell me if this sounds okay?
CURRENT ENTRY
Format to use for the date of events when using absolute dates. (version <= 2.16.0) From version 2.16.0, this option will be used to format absolute and relative dates. (e.g. DD/MM/YY to change from the default MM/DD/YYYY)
Possible values: See Moment.js formats
Default value: MMM Do (e.g. Jan 18th)PROPOSED CHANGE
Format to use for the date of events when using absolute dates. (version <= 2.16.0) From version 2.16.0, this option will be used to format absolute and relative dates. (e.g. DD/MM/YY to change from the default MM/DD/YYYY)
To show the event time along with the date, use a format like MMM Do HH:mm. Depending on configuration, may also require the options timeFormat:“absolute”, urgency:0, getRelative:0,
Possible values: See Moment.js formats
Default value: MMM Do (e.g. Jan 18th) -
@cweinhofer its ok… who reads the doc?! lol…
like any other reference manual it leaves out a lot of detail.
someone could write 50-75 pages of explanation with matching output examples. but it would be a bear to maintain… as we still take changes to provide other formatting options…
(a recently submitted one wants to show ONLY the start date/time when the event duration is 0 and showEnd is true…)