in 1.3.11.p1 CalendarList plugin fails if
month_offset!=0. There were a few other errors
discovered in the code. Sorry I don't have a diff:
$t = localtime($time, 1);
if ($args['next_n_days']) {
if ($n == $args['next_n_days']) return
$cal;
$n++;
} elseif ($args['next_n']) {
if ($n == $args['next_n']) return $cal;
if (!empty($success))
$n++;
} elseif ($args['last_n_days']) {
$now['tm_mday']);
if ($n == $args['last_n_days']) return
$cal;
$n++;
have moved, we wait
} else { // stop at next/prev month
if ($t['tm_mday'] == 1) return $cal;
}
}
return $cal;
}
last_n_days and default mode are both bug fixes.
Best, Christopher T. Johnson <cjohnson at="" cyberpaladin.com=""></cjohnson>