Index: date_api.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/date/date_api.module,v
retrieving revision 1.133
diff -u -p -r1.133 date_api.module
--- date_api.module	10 Dec 2010 10:47:03 -0000	1.133
+++ date_api.module	16 Dec 2010 14:16:44 -0000
@@ -196,7 +196,7 @@ class DateObject extends DateTime {
    * In order to set a timezone for a datetime that doesn't have such
    * granularity, merge() it with one that does.
    */
-  public function setTimezone(DateTimeZone $tz, $force = FALSE) {
+  public function setTimezone($tz, $force = FALSE) {
     // PHP 5.2.6 has a fatal error when setting a date's timezone to itself.
     // http://bugs.php.net/bug.php?id=45038
     if (version_compare(PHP_VERSION, '5.2.7', '<') && $tz == $this->getTimezone()) {
@@ -213,7 +213,7 @@ class DateObject extends DateTime {
       $this->addGranularity('timezone');
       return;
     }
-    parent::setTimezone($tz);
+    return parent::setTimezone($tz);
   }
 
   /**
Index: includes/date_api_argument_handler.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/date/includes/date_api_argument_handler.inc,v
retrieving revision 1.26
diff -u -p -r1.26 date_api_argument_handler.inc
--- includes/date_api_argument_handler.inc	20 Nov 2010 11:50:10 -0000	1.26
+++ includes/date_api_argument_handler.inc	16 Dec 2010 14:16:45 -0000
@@ -23,7 +23,7 @@ class date_api_argument_handler extends 
    * Get granularity and use it to create the formula and a format
    * for the results.
    */
-  function init(&$view, $options) {
+  function init(&$view, &$options) {
     parent::init($view, $options);
 
     // Identify the type of display we're using.
@@ -115,7 +115,7 @@ class date_api_argument_handler extends 
     
   }
     
-  function options_validate($form, &$form_state) {
+  function options_validate(&$form, &$form_state) {
     // It is very important to call the parent function here:
     parent::options_validate($form, $form_state);
     
@@ -130,7 +130,7 @@ class date_api_argument_handler extends 
     }
   }
   
-  function options_submit($form, &$form_state) {
+  function options_submit(&$form, &$form_state) {
     // It is very important to call the parent function here:
     parent::options_submit($form, $form_state);
     
Index: includes/date_api_filter_handler.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/date/includes/date_api_filter_handler.inc,v
retrieving revision 1.36
diff -u -p -r1.36 date_api_filter_handler.inc
--- includes/date_api_filter_handler.inc	9 Dec 2010 15:26:55 -0000	1.36
+++ includes/date_api_filter_handler.inc	16 Dec 2010 14:16:46 -0000
@@ -29,7 +29,7 @@ class date_api_filter_handler extends vi
     $this->date_handler->granularity = $this->options['granularity'];
   }
 
-  function init(&$view, $options) {
+  function init(&$view, &$options) {
     parent::init($view, $options);
     $handler = $this->date_handler;
     $handler->granularity = isset($options['granularity']) ? $options['granularity'] : 'day';
