From: Operating system: Fedora PHP version: 5.3.10 Package: Date/time related Bug Type: Feature/Change Request Bug description:4 Digit Years for shot date formats
Description: ------------ It would be useful to have a format similar to IntlDateFormatter::SHORT, that has 4 digit years. I know that you can specify a custom format, but that loses the usefulness of have locale specific formats. Eg for En_US the Short format is m/d/y with a 2 digit year. Now if I want my users to enter full years and display four digit years I need to create a custom format for US and any other locale with 2 digit years. -- Edit bug report at https://bugs.php.net/bug.php?id=61069&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61069&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61069&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61069&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61069&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61069&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61069&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61069&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61069&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61069&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61069&r=support Expected behavior: https://bugs.php.net/fix.php?id=61069&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61069&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61069&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61069&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61069&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61069&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61069&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61069&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61069&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61069&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61069&r=mysqlcfg