Re: Deprecating DateTime::ISO8601 / DATE_ISO8601

From: Date: Thu, 22 Jun 2017 10:16:43 +0000
Subject: Re: Deprecating DateTime::ISO8601 / DATE_ISO8601
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-99609@lists.php.net to get a copy of this message
Am 22.06.17 um 12:08 schrieb Niklas Keller: > Hey, > > can we please deprecate DateTime::ISO8601 / DATE_ISO8601 so we can change > them to the proper format in a later version? It's really ridiculous. > > Regards, Niklas > IMHO deprecating means we remove something, which we do not want to do (Or do we?). I'd rather see a BC-break in PHP NEXT and change it then to the propper format… We might now introduce a new Constant that maps the current constant so that people can still use the format later… That also allows a codebase-wide search-and-replace of DateTime::ISO8601 to that new constant so the functionality can be kept as-is without much hassle. Just my 0.02 € Cheers Andreas -- ,,, (o o) +---------------------------------------------------------ooO-(_)-Ooo-+ | Andreas Heigl | | mailto:andreas@heigl.org N 50°22'59.5" E 08°23'58" | | http://andreas.heigl.org http://hei.gl/wiFKy7 | +---------------------------------------------------------------------+ | http://hei.gl/root-ca | +---------------------------------------------------------------------+

« previous php.internals (#99609) next »