-
Notifications
You must be signed in to change notification settings - Fork 603
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
dateFormatter does not recognise skeleton with EEEE #455
Comments
You may have noticed Having said that, your issue shows we should have a better error message for such cases. Therefore, I'm keeping this bug opened until we improve the error message. Specifically, https://github.com/jquery/globalize/blob/master/src/date.js#L64 returns Having said all that, you can use |
|
@rxaviers Thanks for the quick reply. I guess my expectation was for 'skeleton' to work and recognise the formatting characters as specified in the standard (http://userguide.icu-project.org/formatparse/datetime). If this is not the case, then I hope that using raw with the standard's formatting parameters is OK. I say this because the documentation explicitly discourages the use of raw and instead recommends skeleton. |
|
Hi,
I have a date represented by the milliseconds figure and would like to get the full name of the Day that date corresponds to.
I have tried the following, but it seems like skeleton does not recognize the formatter 'EEEE', which is correct from the standard's perspective:
This fails with the exception 'E_UNSUPPORTED: Unsupported {"feature":"year pattern
u
"}'However, this code does work as expected and returns the full name of the day:
The text was updated successfully, but these errors were encountered: