#41187 [Com]: DateTime::setDefaultFormat for standard __toString() output of DateTime objects
ID: 41187
Comment by: grodny at oneclick dot sk
Reported By: r dot korving at xit dot nl
Status: Open
Bug Type: Feature/Change Request
Operating System: Any
PHP Version: 5.2.2RC1
New Comment:
This would be nice to implement at least into 5.3 version.
Previous Comments:
------------------------------------------------------------------------
[2007-04-25 15:00:31] r dot korving at xit dot nl
Description:
------------
it would be nice if a static function DateTime::setDefaultFormat() was
added to the DateTime class, which can set a default output format which
can be used by DateTime's __toString() - which is also currently
non-existing.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41187&edit=1
Thread (3 messages)