--- sql.php.orig 2009-09-21 12:07:05.000000000 -0700
+++ sql.php 2009-09-21 11:46:38.000000000 -0700
@@ -252,7 +252,7 @@
$startInterval = null;
if (empty($startDate)) {
$startInterval = new Horde_Date(array('mday' => 1, 'month' => 1,
- 'year' => 0000));
+ 'year' => 0001));
} else {
$startInterval = new Horde_Date($startDate);
if ($startInterval->month == 0) {