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-06-08 12:14 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: Closed Package: intl (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nikola dot kovacs at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

Pull requests:

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
 [2021-06-08 12:11 UTC] kocsismate@php.net
The following pull request has been associated:

Patch Name: Proposal: add IntlDatePatternGenerator
On GitHub:  https://github.com/php/php-src/pull/6771
Patch:      https://github.com/php/php-src/pull/6771.patch
 [2021-06-08 12:14 UTC] kocsismate@php.net
-Status: Assigned +Status: Closed
 [2021-06-08 12:14 UTC] kocsismate@php.net
Closing this bug as the https://wiki.php.net/rfc/intldatetimepatterngenerator RFC has been accepted, and the implementation is ready for the merge.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 01:01:28 2024 UTC