Req #65611 [Opn->Wfx]: make month / day names as protected static
| From: | cmb@php.net | Date: | Mon, 01 Feb 2021 15:27:03 +0000 |
| Subject: | Req #65611 [Opn->Wfx]: make month / day names as protected static | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231867@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65611&edit=1
ID: 65611
Updated by: cmb@php.net
Reported by: ueli at whatwedo dot ch
Summary: make month / day names as protected static
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: Date/time related
Operating System: all
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
I think you're better off to use IntlDateFormatter if you need
internationalization. If you feel strongly about this feature,
please pursue the RFC process[1].
[1] <https://wiki.php.net/rfc/howto>
Previous Comments:
------------------------------------------------------------------------
[2013-09-03 20:49:59] ueli at whatwedo dot ch
Description:
------------
Month and day names in \DateTime class should be protected static variables
instead of hardcoded (php_date.c line 1000) strings. That would it make easier to
translate them into other langauges (extending the \DateTime class).
Test script:
---------------
-
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65611&edit=1