Req #65611 [NEW]: make month / day names as protected static

From: Date: Tue, 03 Sep 2013 20:49:59 +0000
Subject: Req #65611 [NEW]: make month / day names as protected static
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-181416@lists.php.net to get a copy of this message
From: ueli at whatwedo dot ch Operating system: all PHP version: Irrelevant Package: Date/time related Bug Type: Feature/Change Request Bug description:make month / day names as protected static 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 bug report at https://bugs.php.net/bug.php?id=65611&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65611&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65611&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65611&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=65611&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=65611&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=65611&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=65611&r=needscript Try newer version: https://bugs.php.net/fix.php?id=65611&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=65611&r=support Expected behavior: https://bugs.php.net/fix.php?id=65611&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=65611&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=65611&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=65611&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65611&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=65611&r=dst IIS Stability: https://bugs.php.net/fix.php?id=65611&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=65611&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=65611&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=65611&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=65611&r=mysqlcfg

« previous php.bugs (#181416) next »