diff --git a/Swat/SwatDateEntry.php b/Swat/SwatDateEntry.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatDateEntry.php
+++ b/Swat/SwatDateEntry.php
@@ -231,7 +231,7 @@ class SwatDateEntry extends SwatInputControl implements SwatState
 
 		$year = $date->getYear();
 		$this->valid_range_start->setYear($year + $start_offset);
-		$this->valid_range_end->setYear($year + $end_offset);
+		$this->valid_range_end->setYear($year + $end_offset + 1);
 	}
 
 	// }}}
Off by one bug


svn commit r<I>