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 #469

weekOf Year - wrong default arguments

Details

Submitted2003-12-20 22:56 UTC
Fromyyyy at stod dot de
Assignedpajoye
StatusClosed
PackageDate
PHP VersionIrrelevant
OSwin xp
Roadmaps(Not assigned)

Comments

[2003-12-20 22:56 UTC] yyyy at stod dot de

Description:
------------
If you will use the function "weekOfYear" to get the week of the current date without passing arguments, you need to modify Calc.php because of wrong defined default values.

It must be:
function weekOfYear($day="",$month="",$year="")

Instead of:
function weekOfYear($day,$month,$year)

Regards
Ben