Read the statement by Michael Teeuw here.
Default Calender relative removes start time
-
@lavolp3 not mine, but thanks, i will keep an eye on it
-
@cptkex
You could try thistimeWrapper.innerHTML = this.capFirst(moment(event.startDate, "x").fromNow()) + this.capFirst(moment(event.startDate, "x").format(this.config.dateEndFormat));
I took the dirty way to use the dateEndFormat variable for a starting time.
This is just a guess! I haven’t tried it out yet… -
because of the ending times, I went 100% absolute. works best on a small screen, too…
dateFormat: “M/D h:mm a”,
fullDateEventDateFormat: “M/D”,
timeFormat: “absolute”,
getRelative: 0,
urgency: 0,
dateEndFormat: “h:mm a”, -
@bkeyport that’s what I would recommend otherwise as well.
I’m using the same config with the timeFormat: ‘dateheaders’ but for some reason I’m missing the ending times… -
A bit offtopic, sorry, but wanted to write it down:
The (quite) new ‘dateheaders’ option is a bit odd.
It neglects most of the other options like urgency, today/tomorrow, getrelative, showEnd (i.e. shows only the starting time of an event).
I guess it would need to be placed somewhere else in the code and be more integrated. -
@lavolp3 thanks i will try it!