Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.0
-
Fix Version/s: 3.1
-
Component/s: Core CiviCRM
-
Labels:None
Description
Fix month calculation in relativeToAbsolute method in CRM/Utils/Date.php
If current month is Jan, and report is run with filter criteria Date = Previous Month/ Previous 2 Months, etc
throws up warnings :
- warning: cal_days_in_month() [function.cal-days-in-month]: invalid date. in /home/yashodha/svn/civicrm/CRM/Utils/Date.php on line 1032.