Versions are incremented according to semver.
You can use the CloudFlare powered cdnjs.com on your website.
bootstrap-datepicker on cdnjs
Please note: It might take a few hours until a new version is available on cdnjs.
- Online Demo
- Online Docs (ReadTheDocs.com)
- Google Group
- Travis CI
Once you cloned the repo, you'll need to install grunt and the development dependencies using a package manager:
- yarn (recommended):
$ [sudo] yarn global add grunt-cli $ yarn install
$ [sudo] npm install --global grunt-cli $ npm install
Support Boostrap 3.x
Yo, thank you for this repo! I've forked and added a 3.x branch that supports the upcoming bootstrap 3.x release.
If you'd like to create a bootstrap-3.x branch on your repo I'll submit a pull request.
Code is here: https://github.com/ianserlin/bootstrap-datepicker/tree/3.x
AutoClose not working
Hi, i use the autoclose method but this not working in Chrome: js:
Thanks for your help.
Sometimes passing the months the "weeks" just got bugged
Hello, I seeing you showcase, and got very interested. Congratulations, its just amazing!
But, I found a bug. With Chromium 18 (not tested in other browsers), open the first datepicker of your example and passing the months by clicking in the arrow, I randomly got this:
I interested in add you component to a GWT port of bootstrap, do you accept that? You can see the related issue in our project (https://github.com/gwtbootstrap/gwt-bootstrap/issues/60) and the project itself here: https://github.com/gwtbootstrap/.
Again, nice work, congratulations!
Datepicker inside a modal window causes modal to close
I've got a couple of datepicker input fields inside a form that is displayed within a Bootstrap modal window. When I select a date using the datepicker the modal window closes.
This is happening due to the trigger that gets executed on line 146:
When I comment out that trigger the datepicker still works fine.
Any thoughts as to what that trigger is for and how to make it work nice inside a modal window?
i'm using bootstrap-datepicker and get into trouble.
when i click a day, it works well，but when i click the same day again. the select was canceled....
the online demo http://eternicode.github.io/bootstrap-datepicker/ works well. click again same day will keep the selection.......
i have read the docs and can't find anyway to disable toggle......
DatePicker on modal not displaying
I am using your datepicker with a bootstrap modal and I cannot get the calendar to display. I looked at issue #325 and applied the 2 lines that were changed. Prior to applying the lines nothing would happen in the modal for those elements i want to have datepicker displayed. After I applied the 2 line changes I am guessing the datepicker must be displaying off the modal some place as the modal applies both vertical and horizontal scrolls.
I did download the latest version but still have the same issue. Anyone have a fix for this by chance?
prior to 2 applying the 2 lines in issue 325:
after applying and trying to active datepicker:
Broken against jQuery 3
Contents of picker widget e.g. days of the month should be displayed.
Picker opens but contents are not displayed
Datepicker version used
1.6.1 Broken against jQuery 3.0.0 and 3.1.0
RFC: Date ranges
This is a Request For Comments regarding date ranges in bootstrap-datepicker, and related discussion should preferably happen here.
Specifically, I'm looking for ideas and opinions on how to display it, what markup to use, what options might be involved, etc.
Datepicker top vertical position
I have this markup:
So, when i use
the datepicker is positioned not above the input but somewhere below it, after some research i found out that
this code could ignore help's block height.
me again... can i make a date_range[:finish] automagically match the start all the time?
as it stands, if I pick a date that's after the current date, it picks a corresponding matching date. so date_range[:start] == date_range[:finish] only if i'm picking times in the future. can we make that same action happen for past dates?
Don't set te value on text field
when i use de date picker it does not set the value that i pick it in the text field, the strange thing is this only hapen inside of a modal, but when i render the page normaly it does work
Show date, time and month in one div
it possible to datepicker like the attached image? show date, time and month in one div. I want make as slider
Datepicker version used
Jsfiddle example to reproduce the problem.
Fix index of `fr-CH` and `it-CH` localizations
| Q | A | --------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | | Related tickets | fixes #2264 | License | MIT
Bump qs from 6.4.0 to 6.4.1
Bumps qs from 6.4.0 to 6.4.1.
Sourced from qs's changelog.
stringify: avoid relying on a global
45e987c[readme] remove travis badge; add github actions/codecov badges; update URLs
90a3bce[meta] fix README.md (#399)
9566d25[Fix] fix for an impossible situation: when the formatter is called with a no...
74227efClean up license text so it’s properly detected as BSD-3-Clause
35dfb22[actions] backport actions from main
7d4670f[Dev Deps] backport from main
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it
@dependabot mergewill merge this PR after your CI passes on it
@dependabot squash and mergewill squash and merge this PR after your CI passes on it
@dependabot cancel mergewill cancel a previously requested merge and block automerging
@dependabot reopenwill reopen this PR if it is closed
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.
warning on dependencies using composer
I use bootstrap-datepicker in my PHP project using composer using the following command:
It works but during installation I encountered the following warning message: Package robloach/component-installer is abandoned, you should avoid using it. Use oomphinc/composer-installers-extender instead.
Datepicker version used
| Q | A | --------------- | --- | Bug fix? | no|yes | New feature? | no|yes | BC breaks? | no|yes | Related tickets | fixes #X, partially #Y, mentioned in #Z | License | MIT