Re: cvs: php4(NEW_UI_API) /pear/Date Calc.php
| From: | Tomas V.V.Cox | Date: | Wed, 19 Jun 2002 10:43:55 +0000 |
| Subject: | Re: cvs: php4(NEW_UI_API) /pear/Date Calc.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-4689@lists.php.net to get a copy of this message | ||
Alan, I guess that you no longer neeed to use the NEW_UI_API branch as
it is no longer used after the merger.
Tomas V.V.Cox
Alan Knowles wrote:
>
> alan_k Tue Jun 18 21:52:36 2002 EDT
>
> Modified files: (Branch: NEW_UI_API)
> /php4/pear/Date Calc.php
> Log:
> Fixed Undefined index: 06 in .....
>
> Index: php4/pear/Date/Calc.php
> diff -u php4/pear/Date/Calc.php:1.18 php4/pear/Date/Calc.php:1.18.4.1
> --- php4/pear/Date/Calc.php:1.18 Mon Jan 14 13:55:24 2002
> +++ php4/pear/Date/Calc.php Tue Jun 18 21:52:36 2002
> @@ -1432,7 +1432,7 @@
> $month = (int)$month;
>
> if(empty($month))
> - $month = Date_Calc::dateNow("%m");
> + $month = (int) Date_Calc::dateNow("%m");
>
> $month_names = Date_Calc::getMonthNames();
> return $month_names[$month];
> @@ -1569,4 +1569,4 @@
>
> } // end class Date_calendar
>
> -?>
> \ No newline at end of file
> +?>
>
> --
> PEAR CVS Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php