зеркало из https://github.com/mozilla/pjs.git
Fixing bug 193018 to show proper end date for repeating events in top list view.
This commit is contained in:
Родитель
4fc40738db
Коммит
613e6fd31b
|
@ -539,7 +539,10 @@ var treeView =
|
|||
return( startText );
|
||||
|
||||
case "unifinder-search-results-tree-col-enddate":
|
||||
var eventEndDate = new Date( calendarEvent.end.getTime() );
|
||||
var eventEndDate = getNextOrPreviousRecurrence( calendarEvent );
|
||||
var eventLength = calendarEvent.end.getTime() - calendarEvent.start.getTime();
|
||||
var actualEndDate = eventEndDate.getTime() + eventLength;
|
||||
var eventEndDate = new Date( actualEndDate );
|
||||
var endTime = formatUnifinderEventTime( eventEndDate );
|
||||
var endDate = formatUnifinderEventDate( eventEndDate );
|
||||
if( calendarEvent.allDay )
|
||||
|
|
Загрузка…
Ссылка в новой задаче