Req #61069 [Opn]: 4 Digit Years for short date formats
| From: | wgcrouch at gmail dot com | Date: | Mon, 13 Feb 2012 11:10:12 +0000 |
| Subject: | Req #61069 [Opn]: 4 Digit Years for short date formats | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-167472@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61069&edit=1
ID: 61069
User updated by: wgcrouch at gmail dot com
Reported by: wgcrouch at gmail dot com
-Summary: 4 Digit Years for shot date formats
+Summary: 4 Digit Years for short date formats
Status: Open
Type: Feature/Change Request
Package: Date/time related
Operating System: Fedora
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
Fixing typo in title
Previous Comments:
------------------------------------------------------------------------
[2012-02-13 11:09:20] wgcrouch at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=61069&edit=1