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: -
Votes:33
Avg. Score:3.0 ± 0.0
Reproduced:0 of 3 (0.0%)
From: ueli at whatwedo dot ch Assigned:
Status: Open Package: Date/time related
PHP Version: Irrelevant OS: all
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 13:01:52 2019 UTC