-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bootstrap Calendar zh. Option to remove extra words #5171
Bootstrap Calendar zh. Option to remove extra words #5171
Comments
We use |
I hope we can have options to also use |
I think one possible solution here is to have a props of another locale for a certain part of the calendar |
… to specify weekday header length (closes #5171)
For the calendar weekday headers we will be adding the prop For the date numbers (eg. 1, 2, 3, etc), there are only two options for Intl, of which we use |
Can we add like a prop to be used as the locale for like the days only? When I first checked through the code I thought there was a prop for calendarLocale since the context shows that there is a separated data for I believe this issue of mine can be solved with my suggestion above |
|
|
I meant in
E.g. of my suggestion
|
The only other option, is that we could use |
Oh ok possible. So maybe in the next version this approach will be released? Can you give a brief example? I think I get the idea but not completely |
We would have to get the date number from the date object and then pass to the number formatter... instead of just directly passing the date value to DateTime formatter. |
Ok, I understand now. So I can like pass zh-EN in |
No.... You would still pass in a standard locale (the value after the Internally we would create the number formatter to use the resolved |
Hmm, I think I will just wait for the actual release of that feature and see the actual procedure. Thanks tmorehouse |
There wont be anything special you will need to do... except set the |
You can take a look at the preview at https://bootstrap-vue-git-calendar-date-buttons.bootstrap-vue.now.sh/docs/components/calendar#internationalization |
Oh this document.. How can I use this?? I am currently using npm.. Sorry but I am kinda new in frontend |
This isn't released yet. It will be available in v2.12.0 (which will be available on NPM) |
Ok, I will just wait for the release but it is very good to know that my issue can be done on the next release. I am really thankful for your assistance |
We are hoping to have v2.12.0 released on Sunday. |
周日
周一
周二
周三
周四
周五
周六
日
一
二
三
四
五
六
Then the days are written as 1日, 2日, 3日 and so on but can be written as simply as 1, 2, 3.
These can also be important at some point save and texts and spaces
The text was updated successfully, but these errors were encountered: