Calendarにバグ発見。$mはmonthだから$sの状態見て$m弄ってるのはおかしいと思うんだがどうよ?

--- Calendar/Engine/PearDate.php.orig 2007-08-23 05:50:53.000000000 +0900
+++ Calendar/Engine/PearDate.php 2007-08-23 05:50:53.000000000 +0900
@@ -161,11 +161,11 @@
function adjustDate(&$y, &$m, &$d, &$h, &$i, &$s)
{
if ($s < 0) {
- $m -= floor($s / 60);
+ $i -= floor($s / 60);
$s = -$s % 60;
}
if ($s > 60) {
- $m += floor($s / 60);
+ $i += floor($s / 60);
$s %= 60;
}
if ($i < 0) {