You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
I am trying to use a dateFormatter with the following options:
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?
The text was updated successfully, but these errors were encountered: