-
Notifications
You must be signed in to change notification settings - Fork 40
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
Ordinal day 1th 2nd,etc #163
Comments
We probably won't do this directly in Dart, as the current formatting is implemented. The underlying facilities in browsers are better now, so we're likely to add things by making them pass through to JS Intl in browsers, and to ICU or operating system libraries on other platforms. |
@alan-knight As you mentioned it won't be implemented directly in |
I have the same need for this for showing birthdays. Given a number, I want to show "st", "nd", "rd", or "th". For example,
|
It seems reasonable to implement it in dart. Web does ordinals better, but what about mobile - is calling native Kotlin/Swift option? |
I wonder if you could support ordinal number for the day of the month
1st, 2nd,3rd,4th, 21st, etc
I used a function but I think
DateFormat
should support itThe text was updated successfully, but these errors were encountered: