Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0a4

Request #13488 Please rename Methods format2 and format3
Submitted: 2008-03-25 05:42 UTC
From: estigy Assigned: c01234
Status: Closed Package: Date (version 1.5.0a1)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 35 - 19 = ?

 
 [2008-03-25 05:42 UTC] estigy (Günther Stadler)
Description: ------------ Maybe you could rename them to formatLikeSQL and formatLikeDate? Calling them format2 and format3 is a level of bad practice I'm not used to at PEAR at all. I'm sure that if I used Date::format2 and Date::format3, I will not know what I've been doing some weeks in the future. Thanks, Estigy.

Comments

 [2008-05-08 22:48 UTC] c01234 (Chuckie Chuck)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2015-09-14 13:49 UTC] adis1801 (Aditya Seth)
What is format3 renamed with. Please tell its urgent.
 [2015-09-14 14:30 UTC] cweiske (Christian Weiske)
- format2() became formatLikeSQL() - format3() became formatLikeDate()