php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #65611 make month / day names as protected static
Submitted: 2013-09-03 20:49 UTC Modified: 2021-02-01 15:27 UTC
Votes:33
Avg. Score:3.0 ± 0.0
Reproduced:0 of 3 (0.0%)
From: ueli at whatwedo dot ch Assigned: cmb (profile)
Status: Wont fix Package: Date/time related
PHP Version: Irrelevant OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ueli at whatwedo dot ch
New email:
PHP Version: OS:

 

 [2013-09-03 20:49 UTC] 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:
---------------
-


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-02-01 15:27 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-02-01 15:27 UTC] cmb@php.net
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>
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Aug 13 10:05:43 2022 UTC