Fix for the weekly event generation. Was reported on the bug tracking
1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx> * calobj.c (ical_object_generate_events): Fix for the weekly event generation. Was reported on the bug tracking system. svn path=/trunk/; revision=237
This commit is contained in:
committed by
Arturo Espinosa
parent
d5658f0803
commit
63057dd048
@ -1,3 +1,8 @@
|
||||
1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* calobj.c (ical_object_generate_events): Fix for the weekly event
|
||||
generation. Was reported on the bug tracking system.
|
||||
|
||||
1998-05-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gncal-full-day.c (layout_children): Implemented ultra-cool
|
||||
|
||||
@ -1099,7 +1099,7 @@ ical_object_generate_events (iCalObject *ico, time_t start, time_t end, calendar
|
||||
|
||||
/* Advance by day for scanning the week or by interval at week end */
|
||||
if (tm->tm_wday == 6)
|
||||
current = time_add_day (current, recur->interval);
|
||||
current = time_add_day (current, (recur->interval-1) * 7 + 1);
|
||||
else
|
||||
current = time_add_day (current, 1);
|
||||
|
||||
|
||||
@ -1099,7 +1099,7 @@ ical_object_generate_events (iCalObject *ico, time_t start, time_t end, calendar
|
||||
|
||||
/* Advance by day for scanning the week or by interval at week end */
|
||||
if (tm->tm_wday == 6)
|
||||
current = time_add_day (current, recur->interval);
|
||||
current = time_add_day (current, (recur->interval-1) * 7 + 1);
|
||||
else
|
||||
current = time_add_day (current, 1);
|
||||
|
||||
|
||||
@ -1099,7 +1099,7 @@ ical_object_generate_events (iCalObject *ico, time_t start, time_t end, calendar
|
||||
|
||||
/* Advance by day for scanning the week or by interval at week end */
|
||||
if (tm->tm_wday == 6)
|
||||
current = time_add_day (current, recur->interval);
|
||||
current = time_add_day (current, (recur->interval-1) * 7 + 1);
|
||||
else
|
||||
current = time_add_day (current, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user