Checked in patch for bug 236445: missing events in certain month when

setting Monday for first day of the week
This commit is contained in:
mostafah%oeone.com 2004-03-09 16:26:32 +00:00
Родитель 50e898e298
Коммит 77f24809b1
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1047,7 +1047,7 @@ NS_IMETHODIMP oeICalEventImpl::GetPreviousOccurrence( PRTime beforethis, PRTime
//#endif
// continue;
next.day = 0;
icaltime_normalize( next );
next = icaltime_normalize( next );
}
PRTime nextinms = ConvertToPrtime( next );
if( LL_CMP(nextinms, < ,beforethis) && !IsExcepted( nextinms ) ) {
@ -1139,7 +1139,7 @@ icaltimetype oeICalEventImpl::GetNextRecurrence( icaltimetype begin, bool *isbeg
//#endif
//continue;
next.day = 0;
icaltime_normalize( next );
next = icaltime_normalize( next );
}
if( icaltime_compare( next, begin ) > 0 ) {