Skip to content
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

Closed
jshrssll opened this issue Feb 13, 2017 · 5 comments
Closed

Angular2 DatePipe does not support ordinal indicators #14448

jshrssll opened this issue Feb 13, 2017 · 5 comments
Labels
area: i18n feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors feature: votes required Feature request which is currently still in the voting phase feature Issue that requests a new feature
Milestone

Comments

@jshrssll
Copy link

jshrssll commented Feb 13, 2017

I'm submitting a feature request.

[ ] bug report => search github for a similar issue or PR before submitting
[ x ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

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

  • Angular version: 2.2.1
  • Angular Universal version: ~2.1.0-rc.1
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Chrome

  • Language: [all | TypeScript X.X | ES6/7 | ES5]
    ES6/7

  • Node (for AoT issues): node --version =

@tbosch tbosch added area: common Issues related to APIs in the @angular/common package feature Issue that requests a new feature labels Apr 10, 2017
@timrayers
Copy link

Is there any update for this request?

dhyey35 pushed a commit to dhyey35/angular that referenced this issue Nov 30, 2017
dhyey35 pushed a commit to dhyey35/angular that referenced this issue Nov 30, 2017
closes angular#14448

style(common): fix formatting of date pipe test case
dhyey35 added a commit to dhyey35/angular that referenced this issue Nov 30, 2017
closes angular#14448

style(common): fix formatting of date pipe test case
@ocombe ocombe added area: i18n and removed area: common Issues related to APIs in the @angular/common package labels Nov 30, 2017
@ngbot ngbot bot added this to the Backlog milestone Jan 23, 2018
@angular-robot
Copy link
Contributor

angular-robot bot commented Jun 4, 2021

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.

@angular-robot angular-robot bot added the feature: votes required Feature request which is currently still in the voting phase label Jun 4, 2021
@angular-robot
Copy link
Contributor

angular-robot bot commented Jun 25, 2021

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.

@angular-robot angular-robot bot added the feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors label Jun 25, 2021
@AndrewKushnir AndrewKushnir closed this as not planned Won't fix, can't repro, duplicate, stale Jun 16, 2022
@ben-x-dev
Copy link

ben-x-dev commented Jul 14, 2022

Can we reconsider to redo upvoting please? Thanks

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: i18n feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors feature: votes required Feature request which is currently still in the voting phase feature Issue that requests a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants