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

Correct handling of long, narrow, and stand-alone weekday names #77

Closed
JCEmmons opened this issue Oct 24, 2014 · 0 comments
Closed

Correct handling of long, narrow, and stand-alone weekday names #77

JCEmmons opened this issue Oct 24, 2014 · 0 comments

Comments

@JCEmmons
Copy link
Member

Need to enhance the processing of available date formats, to handle cases of long, narrow, and stand-alone weekday names correctly. For example, a request for just:

{weekday: 'long'}

should return, simply "Monday" or "Thursday" in English, rather than "14 Mon".

Right now, the CLDR availableFormats contain only the pattern letter "E", and we need to expand on that so that "EEEE" ( long ), "EEEEE", narrow, or stand-alone patterns ( "ccc", "cccc", "ccccc" ) are also processed correctly.

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

1 participant