-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Angular2 DatePipe does not support ordinal indicators #14448
Comments
Is there any update for this request? |
closes angular#14448 style(common): fix formatting of date pipe test case
closes angular#14448 style(common): fix formatting of date pipe test case
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends. Find more details about Angular's feature request process in our documentation. |
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage. We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package. You can find more details about the feature request process in our documentation. |
Can we reconsider to redo upvoting please? Thanks |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a feature request.
Current behavior
Angular2 DatePipe does not support ordinal indicators (1st, 2nd, 5th etc)
Expected behavior
Ideally there would be a format option for the ordinal indicator proceeding the date number.
eg.
{{ myDate| date: 'dO' }}
where O would be the ordinal indicator.Minimal reproduction of the problem with instructions
N/A
What is the motivation / use case for changing the behavior?
I am listing a bunch of a events that have their respective dates displayed. In our design, each date is in the following format "22nd September"
Please tell us about your environment:
MacOS, VSCode, NPM, NodeJS
Chrome
Language: [all | TypeScript X.X | ES6/7 | ES5]
ES6/7
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: