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

Added ordinalDay property in Date/DateInRegion #558

Closed
malcommac opened this issue Jul 12, 2018 · 0 comments
Closed

Added ordinalDay property in Date/DateInRegion #558

malcommac opened this issue Jul 12, 2018 · 0 comments
Assignees
Milestone

Comments

@malcommac
Copy link
Owner

malcommac commented Jul 12, 2018

Regarding to the original code of the request #550 by @oscardemoya I'll add the .ordinalDay property for both Date and DateInRegion.

It returns the number of day in ordinal style format for the receiver in current locale of the date.
For example, in the en_US locale, the number 3 is represented as 3rd; in the fr_FR locale, the number 3 is represented as 3e, in it_IT it returns 3º.

@malcommac malcommac added this to the 5.0.2 milestone Jul 12, 2018
@malcommac malcommac self-assigned this Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant