php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #70377 DateTimePatternGenerator
Submitted: 2015-08-28 08:40 UTC Modified: 2021-03-14 21:02 UTC
Votes:170
Avg. Score:4.4 ± 0.8
Reproduced:149 of 154 (96.8%)
Same Version:82 (55.0%)
Same OS:72 (48.3%)
From: nikola dot kovacs at gmail dot com Assigned: kocsismate (profile)
Status: Assigned Package: intl (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-08-28 08:40 UTC] nikola dot kovacs at gmail dot com
Description:
------------
Please add DateTimePatternGenerator to intl. HHVM already has it: https://github.com/facebook/hhvm/commit/bc84daf7816e4cd268da59d535dcadfc6cf01085


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-02-26 13:22 UTC] maxxarts at gmail dot com
Here are my explanation why we really need it — https://blog.ksimka.io/a-long-journey-to-formatting-a-date-without-a-year-internationally-with-php/ .
 [2020-01-21 23:18 UTC] kocsismate@php.net
-Assigned To: +Assigned To: kocsismate
 [2020-01-21 23:23 UTC] kocsismate@php.net
I read your excellent article about the topic quite some time ago, but I immediately decided that if I ever learn how to make changes in PHP, I would implement this missing feature.ű

As I started to be more familiar with the internals of the language, I plan to fix this for PHP 8.
 [2021-03-14 19:14 UTC] m at dafert dot at
I have a working implementation here: https://github.com/php/php-src/pull/6771
I will submit am RFC in the following days.
 [2021-03-14 21:02 UTC] kocsismate@php.net
> I have a working implementation here: https://github.com/php/php-src/pull/6771

Yay! At last I chose to work on other stuffs for PHP 8.0... But I'll review the PR.

> I will submit am RFC in the following days.

Actually, it's possible that you only have to write an RFC document, but voting is not necessary. At least it was the case when a few new functions were added to openssl last year: https://wiki.php.net/rfc/add-cms-support
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Apr 18 09:01:24 2021 UTC