--- date/date.install.orig	2009-08-21 16:31:37.000000000 -0400
+++ date/date.install	2009-10-08 22:39:01.000000000 -0400
@@ -531,7 +531,7 @@
   // We need to abort and tell the user to re-run it.
   // We need a custom abort process because the content_check_update could be OK
   // but we still need to update these values.
-  if (!db_table_exists('date_formats') || !db_table_exists('date_format_types')) {
+  if ((!db_table_exists('date_format') && !db_table_exists('date_formats')) || !db_table_exists('date_format_types')) {
     drupal_set_message(t('Some updates are still pending. Please return to <a href="@update-php">update.php</a> and run the remaining updates.', array('@update-php' => base_path() .'update.php?op=selection')), 'error', FALSE);
     $ret['#abort'] = array('success' => FALSE, 'query' => t('Some updates are still pending.<br/>Please re-run the update script.'));
     return $ret;
@@ -788,4 +788,4 @@
   }
   content_clear_type_cache();
   return $ret;
-}
\ Pas de fin de ligne à la fin du fichier.
+}
