nwa-daterangepicker
v1.0.23
Published
Daterangepicker based on Dan Grossman's bootstrap-daterangepicker.
Downloads
7
Readme
Date Range Picker for Bootstrap based on Dan Grossman's awesome
This daterangepicker is based on Dan Grossman's daterangepicker.
Main changes
- User can select a date range by first clicking on a date and then choosing a date in the past. The plugin will determine which date should be a start date and set the end date accordingly. The original plugin would reset the selection, forcing the user to select the end.
- Any date selection, either in the calendar or via predefined date ranges, must be followed by clicking on Apply button to initialize callback function.
This date range picker component for Bootstrap creates a dropdown menu from which a user can select a range of dates.
Features include limiting the selectable date range, localizable strings and date formats, a single date picker mode, optional time picker (for e.g. making appointments or reservations), and styles that match the default Bootstrap 3 theme.
Original Daterangepicker Documentation and Live Usage Examples
See It In a Live Application
License
This code is made available under the same license as Bootstrap. Moment.js is included in this repository for convenience. It is available under the MIT license.
The MIT License (MIT)
Copyright (c) 2016-2017 Xavier Glab
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.