PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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);