-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date formatting plans? #23
Comments
Unfortunately all plans for date support have been dropped, due to other parts of the library (as well as the addressing library) taking more time than expected. I'd be happy to review any PRs or external libraries trying to tackle the issue. |
Alright, thanks for the quick update :) |
Our NumberFormatter API resembles the one provided by the intl extension, with improvements made where it made sense. We should attempt the same for the DateFormatter. Here's the intl extension one: http://php.net/manual/en/intldateformatter.create.php The formatter would need to receive a DateFormat object, which would include the available date formats and replacements per calendar. See https://github.com/andyearnshaw/Intl.js/blob/master/locale-data/json/en.json for an example. |
Like a fanboy, I just want to say @nocive is getting my hopes up! Very exciting that we're going to see some movement on the date formatters! Personally, I'm just fascinated with the fact that there are other calendars in the world. |
In early 2015 I tried to make a quite complete mapping to convert CLDR to PHP datetime. Would like to put some energy in an initial PR! Notes |
First of all, thanks for all the hard work put into this, really useful for myself and my team.
This is not really an issue report but more of a question.
Do you guys have any estimation/plans regarding introducing date formats support?
Thanks
The text was updated successfully, but these errors were encountered: