#41187 [Com]: DateTime::setDefaultFormat for standard __toString() output of DateTime objects

From: Date: Tue, 08 Sep 2009 07:42:34 +0000
Subject: #41187 [Com]: DateTime::setDefaultFormat for standard __toString() output of DateTime objects
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-142117@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#142117) next »