-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(b-calendar, b-form-datepicker): add prop weekday-header-format
to specify weekday header length (closes #5171)
#5175
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
Conversation
… to specify weekday header length (closes #5171)
This pull request is being automatically deployed with ZEIT Now (learn more). 🔍 Inspect: https://zeit.co/bootstrap-vue/bootstrap-vue/ojv2elyes |
Codecov Report
@@ Coverage Diff @@
## dev #5175 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 279 279
Lines 8672 8681 +9
Branches 2480 2481 +1
=========================================
+ Hits 8672 8681 +9
Continue to review full report at Codecov.
|
Describe the PR
Add prop
weekday-header-format
to control length of formatted weekday header. Default is'short'
(current behaviour), and can be set to'long'
(full weekday name),'short'
(typically a 3 letter abbreviation), and'narrow'
(typically the first letter of the weekday name).Note that some locales may not respect this setting (i.e
'ar'
or'fa'
, always shows the full weekday name when'short'
is selected, but do show a single character when'narrow'
is used)Closes #5171
To Do:
<b-calendar>
code update<b-calendar>
docs update<b-calendar>
meta data update<b-form-datepicker>
code update<b-form-datepicker>
docs update<b-form-datepicker>
meta data updatePR checklist
What kind of change does this PR introduce? (check at least one)
fix(...)
, requires a patch version updatefeat(...)
, requires a minor version updatefeat(...)
, requires a minor version updatefix(...)
, requires a patch or minor version updatechore(docs)
, requires a patch version updateDoes this PR introduce a breaking change? (check one)
The PR fulfills these requirements:
dev
branch, not themaster
branch[...] (fixes #xxx[,#xxx])
, where "xxx" is the issue number)fix(alert): not alerting during SSR render
,docs(badge): update pill examples
,chore(docs): fix typo in README
, etc). This is very important, as theCHANGELOG
is generated from these messages, and determines the next version type (patch or minor).If new features/enhancement/fixes are added or changed:
If adding a new feature, or changing the functionality of an existing feature, the PR's
description above includes: