Skip to content

Add support for ordinal suffixes #10

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add support for ordinal suffixes #10

wants to merge 1 commit into from

Conversation

jsmecham
Copy link

@jsmecham jsmecham commented Mar 7, 2012

Added support for ordinal suffixes (i.e. 1st, 2nd, 3rd, ...) on days of the month by specifying 'o' or 'O' in the format.

@asual
Copy link
Owner

asual commented Mar 8, 2012

This looks useful but I see two problems with it:

  1. The plugin tries to mirror the Java date and number formatting APIs. This will introduce a difference.
  2. Such feature needs to support localization. Even if you make it configurable I'm not sure that the logic will apply well for every language with it's specifics.

I'm sorry to say it but it will be better if you implement it in your app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants