Index: recipe.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/recipe/recipe.module,v
retrieving revision 1.65
diff -b -U3 -r1.65 recipe.module
--- recipe.module	20 Sep 2006 07:26:46 -0000	1.65
+++ recipe.module	16 Nov 2006 17:40:27 -0000
@@ -165,7 +165,7 @@
     '#type' => 'select',
     '#title' => t("Preparation time"),
     '#default_value' => $node->preptime,
-    '#options' => array (15 => "15 minutes", 30 => "30 minutes", 45 => "45 minutes", 60 => "1 hour", 90 => "1 1/2 hours", 120 => "2 hours", 150 => "2 1/2 hours", 180 => "3 hours", 210 => "3 1/2 hours", 240 => "4 hours", 300 => "5 hours", 360 => "6 hours"),
+    '#options' => array (5 => "5 minutes", 10 => "10 minutes", 15 => "15 minutes", 20 => "20 minutes", 30 => "30 minutes", 45 => "45 minutes", 60 => "1 hour", 90 => "1 1/2 hours", 120 => "2 hours", 150 => "2 1/2 hours", 180 => "3 hours", 210 => "3 1/2 hours", 240 => "4 hours", 300 => "5 hours", 360 => "6 hours"),
     '#description' => t("How long does this recipe take to prepare (i.e. elapsed time)"),
   );
   $form["source"] = array(
@@ -1419,7 +1374,12 @@
     $summary .= '<tr><th>Source</th><td>'.$node->source.'</td></tr>';
   }
   if ($node->preptime) {
+    if ($node->preptime < 60) {
+      $preptime = t("%n minutes", array ("%n" => $node->preptime));
+    }
+    else {
+      $preptime = t("%n hours", array ("%n" => recipe_ingredient_quantity_from_decimal($node->preptime / 60)));
+    }
     $summary .= '<tr><th>Prep Time</th><td>'.$preptime.'</td></tr>';
   }
   $vocabs = taxonomy_get_vocabularies('recipe');
