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