--- fullcalendar.module
+++ fullcalendar.module
@@ -1,5 +1,5 @@
 <?php
-// $Id: fullcalendar.module,v 1.1.2.11 2011/01/06 00:36:32 timplunkett Exp $
+// $Id: fullcalendar.module,v 1.1.2.12 2011/01/20 18:54:55 timplunkett Exp $
 
 /**
  * @file
@@ -296,7 +305,7 @@
   }
   return array(
     'field' => $field_name,
-    'allDay' => date_field_all_day($field, $date1, $date2),
+    'allDay' => _fullcalendar_date_is_all_day($dfp_info),
     'start' => $date1,
     'end' => $date2,
     'nid' => $node->nid,
@@ -307,6 +316,15 @@
   );
 }
 
+function _fullcalendar_date_is_all_day($element) {
+  $fields = content_fields();
+  $field = $fields[$element['#field_name']];
+  if (in_array('day', $field['granularity']) && !in_array('hour', $field['granularity'])) {
+    return TRUE;    
+  }
+  return FALSE;
+} 
+
 /**
  * Sets the text for the fallback display.
  */
