PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Date and Time » Date » Bug #683

add new parameter

Details

Submitted2004-02-05 08:19 UTC
Fromsmailling at free dot fr
Assignedpajoye
StatusClosed
PackageDate
PHP Version4.3.4
OSWindows 2000
Roadmaps(Not assigned)

Comments

[2004-02-05 08:19 UTC] smailling at free dot fr

Description:
------------
It is usefull to add a parameter to the folowwing method: getDayName

Reproduce code:
---------------
906a1001
> * @param int optional length of abbreviation, default is 3
909c1004
< function getDayName($abbr = false)
---
> function getDayName($abbr = false, $length = 3)
912c1007
< return Date_Calc::getWeekdayAbbrname($this->day, $this->month, $this->year);
---
> return Date_Calc::getWeekdayAbbrname($this->day, $this->month, $this->year, $length);