php/php-src — pull request #103 by Powerhamster (2012-06-10 20:13:46+00:00)
Title: Request #41187 DateTime::setDefaultFormat and __toString()

- added static protected DateTime::$defaultFormat
- added bool DateTime::setDefaultFormat($format)
- added string DateTime::getDefaultFormat()
- added DateTime::__toString()
- DateTime::$defaultFormat supports LSB

This should fix some issues with Datetime for libraries like e.g. doctrine 2 which can not implement a special handling for Datetime because of performance issues.