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
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 |
+---------------------------------------------------------------------+
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.
No, we can not remove this.
cheers,
Derick
2017-06-22 12:32 GMT+02:00 Derick Rethans derick@php.net:
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.No, we can not remove this.
I didn't suggest to remove it, but to throw a deprecation notice to alert
people currently using it that the format will be corrected in a later
version.
Regards, Niklas