bug 356207: start searching at the right place when reading .ics which has BYMONTHDAY and BYDAY in an RRULE. r=dbo

This commit is contained in:
mvl%exedo.nl 2006-12-20 18:53:45 +00:00
parent 9b334c8bda
commit f438a6ef57

View File

@ -1531,6 +1531,7 @@ static int next_month(icalrecur_iterator* impl)
if ( day > days_in_month){
impl->last.day = 1;
increment_month(impl);
impl->last.day--; /* Go back one day, so searches next month start at day 1 */
data_valid = 0; /* signal that impl->last is invalid */
}