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

Day name short - #79

Open
pluckannfeel opened this issue Feb 6, 2018 · 1 comment
Open

Day name short - #79

pluckannfeel opened this issue Feb 6, 2018 · 1 comment

Comments

@pluckannfeel
Copy link

can you put a function where the week days text will be formatted with one letter
e.g : S M T W T F S

@richardtallent
Copy link
Contributor

Using the weekdayNameFormat: "narrow" option. It will remain localized to the user's chosen language setting, but will be as narrow as possible (for English users, it's one letter).

If you need to override the user's language preference or you need to support very old browsers, you can use the option dayNames: ["S","M","T","W","T","F","S"] and it will use those names.

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