Index: date/date_repeat/date_repeat_calc.inc
===================================================================
--- date/date_repeat/.svn/text-base/date_repeat_calc.inc.svn-base	2009-11-02 16:52:05.000000000 -0500
+++ date/date_repeat/date_repeat_calc.inc	2010-02-05 15:33:53.000000000 -0500
@@ -69,12 +69,12 @@ function _date_repeat_calc($rrule, $star
 
   // Make sure DAILY frequency isn't used in places it won't work;
   if (!empty($rrule['BYMONTHDAY']) && !in_array($rrule['FREQ'], array('MONTHLY', 'YEARLY'))) {
     $rrule['FREQ'] = 'MONTHLY';
   }
-  if (!empty($rrule['BYDAY']) && !in_array($rrule['FREQ'], array('MONTHLY', 'WEEKLY', 'YEARLY'))) {
-    $rrule['FREQ'] = 'MONTHLY';
+  else if (!empty($rrule['BYDAY']) && !in_array($rrule['FREQ'], array('MONTHLY', 'WEEKLY', 'YEARLY'))) {
+    $rrule['FREQ'] = 'WEEKLY';
   }
   
   // Find the time period to jump forward between dates.
   switch ($rrule['FREQ']) {
    case 'DAILY':
