CC-5222: Calendar: Ends time of show is missed in Weekly view

This commit is contained in:
drigato 2013-07-19 12:46:04 -04:00
parent de76b3a12f
commit f76bb5209e
2 changed files with 18 additions and 11 deletions

View file

@ -3867,7 +3867,7 @@ function AgendaEventRenderer() {
if (seg.contentTop !== undefined && height - seg.contentTop < 10) {
// not enough room for title, put it in the time header
eventElement.find('div.fc-event-time')
.text(formatDate(event.start, opt('timeFormat')) + ' - ' + event.title);
.text(formatDate(event.start, opt('timeFormat')) + ' - ' + formatDate(event.end, opt('timeFormat')) + ' ' + event.title);
eventElement.find('div.fc-event-title')
.remove();
}