Branch: Tag:

2000-11-13

2000-11-13 13:50:44 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

bugfix

Rev: lib/modules/Calendar.pmod/Event.pmod:1.11

1318:       TimeRange btr=0;    if (nextshift!=-1) -  btr=from->calendar()->Second("unix",nextshift); +  btr=from->calendar()->Second("unix_r",nextshift,from->ruleset());       TimeRange atr=from;    for (;;)
1371:    if (shift[0]>=jd)    {    TimeRange atr=from->calendar() -  ->Second("unix",(shift[0]-2440588)*86400+shift[1]); +  ->Second("unix_r",(shift[0]-2440588)*86400+shift[1], +  from->ruleset());    if (atr>=from) return atr;    }    }
1381:    if (shift[0]<=jd)    {    TimeRange atr=from->calendar() -  ->Second("unix",(shift[0]-2440588)*86400+shift[1]); +  ->Second("unix_r",(shift[0]-2440588)*86400+shift[1], +  from->ruleset());    if (atr<=from) return atr;    }    }