Gathering detailed insights and metrics for new-bootstrap-datetimerangepicker
Gathering detailed insights and metrics for new-bootstrap-datetimerangepicker
Gathering detailed insights and metrics for new-bootstrap-datetimerangepicker
Gathering detailed insights and metrics for new-bootstrap-datetimerangepicker
React date & time range picker component base on bootstrap-daterangepicker. 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.
npm install new-bootstrap-datetimerangepicker
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
61 Stars
47 Commits
52 Forks
5 Watchers
2 Branches
3 Contributors
Updated on Apr 15, 2025
Latest Version
1.0.2
Package Id
new-bootstrap-datetimerangepicker@1.0.2
Unpacked Size
20.98 kB
Size
5.97 kB
File Count
7
NPM Version
8.5.0
Node Version
16.14.2
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
31
This date range picker component for Bootstrap creates a dropdown menu from which a user can select a range of dates.
Base on bootstrap-daterangepicker
Online demo: http://luqin.github.io/react-bootstrap-datetimerangepicker
<2.0 to 2.x
Using official bootstrap-daterangepicker
1# <2.0 2npm install react-bootstrap-datetimerangepicker onefe-bootstrap-daterangepicker --save 3 4# 2.x 5npm install react-bootstrap-datetimerangepicker bootstrap-daterangepicker --save
1// <2.0 2import 'bootstrap/dist/css/bootstrap.css'; 3import 'onefe-bootstrap-daterangepicker/daterangepicker.css'; 4 5// 2.x 6import 'bootstrap/dist/css/bootstrap.css'; 7import 'bootstrap-daterangepicker/daterangepicker.css';
npm install react-bootstrap-datetimerangepicker bootstrap-daterangepicker --save
Date Range Picker relies on Bootstrap, jQuery and Moment.js. Include the required stylesheet in your page:
1import 'bootstrap/dist/css/bootstrap.css'; 2import 'bootstrap-daterangepicker/daterangepicker.css';
1import DatetimeRangePicker from 'react-bootstrap-datetimerangepicker'; 2 3<DatetimeRangePicker 4 startDate={this.state.startDate} 5 endDate={this.state.endDate} 6 onApply={this.handleApply} 7> 8 <input type="text" value={label}/> 9</DatetimeRangePicker> 10 11<DatetimeRangePicker 12 timePicker 13 timePicker24Hour 14 showDropdowns 15 timePickerSeconds 16 locale={locale} 17 startDate={this.state.startDate} 18 endDate={this.state.endDate} 19 onApply={this.handleApply} 20> 21 <Button> 22 <i className="fa fa-calendar"/> 23 <span>{label}</span> 24 <i className="fa fa-angle-down"/> 25 </Button> 26</DatetimeRangePicker>
More examples: Online demo, Source
For in depth documentation, see the original bootstrap-daterangepicker project page.
All of the events above should take a handler that is passed 2 arguments: event and picker
1var SomeReactComponent = React.createClass({ 2 handleEvent: function (event, picker) { 3 console.log(picker.startDate); 4 }, 5 render: function () { 6 return ( 7 <DatetimeRangePicker onEvent={this.handleEvent} /> 8 ); 9 } 10});
npm install
npm start
. This will watch for file changes as you work. And auto refresh the page to see the updates.No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 6/20 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More