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

E_UNSUPPORTED with date skeleton: 'yMMMM' #478

Closed
dpolivy opened this issue Aug 7, 2015 · 1 comment
Closed

E_UNSUPPORTED with date skeleton: 'yMMMM' #478

dpolivy opened this issue Aug 7, 2015 · 1 comment

Comments

@dpolivy
Copy link

dpolivy commented Aug 7, 2015

I am trying to use a dateFormatter with the following options:

{
    skeleton: 'yMMMM'
}

With locale en-US, it throws the following error:
E_UNSUPPORTED: Unsupported {"feature":"year pattern `u`"}.

It seems to be unhappy with the 4 M's; if I use any other number, then it works fine (but doesn't format it as desired). Based on the date symbol table, I would expect 4 M's to use the full month name. I'm trying to format a date as "Month Year", e.g. "September 2009" for en-us.

Is this user error, a bug, or a data issue?

@rxaviers
Copy link
Member

The root feature of what you look for needs to finish getting implemented: #271 (PR #462). The original contributor seems to have stalled the implementation. Would you like to resume it?

The poor error message should be addressed by #469.

Sorry for the delay responding you.

@karan1276 karan1276 mentioned this issue Nov 22, 2015
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

No branches or pull requests

2 participants