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

Other way to write it

Details

Submitted2004-02-05 12:00 UTC
Fromsmailling at free dot fr
StatusWont fix
PackageDate
PHP Version4.3.4
OSWindows 2000
Roadmaps(Not assigned)

Comments

[2004-02-05 12:00 UTC] smailling at free dot fr

Description:
------------
Because printf is used everywhere around in the function, we could do the same?
317c328
< $output .= $this->day * 1; // get rid of leading zero
---
> $output .= sprintf("%02d", $this->day);
404a416