eonasdan-bootstrap-datetimepicker
Advanced tools
Comparing version 4.14.30 to 4.15.35
{ | ||
"name": "eonasdan-bootstrap-datetimepicker", | ||
"version": "4.14.30", | ||
"version": "4.15.35", | ||
"main": [ | ||
@@ -5,0 +5,0 @@ "build/css/bootstrap-datetimepicker.min.css", |
{ | ||
"name": "bootstrap-datetimepicker", | ||
"version": "4.14.30", | ||
"version": "4.15.35", | ||
"main": ["build/css/bootstrap-datetimepicker.min.css","build/js/bootstrap-datetimepicker.min.js"], | ||
@@ -5,0 +5,0 @@ "dependencies": { |
{ | ||
"name": "eonasdan/bootstrap-datetimepicker", | ||
"type": "component", | ||
"version": "4.14.30", | ||
"version": "4.15.35", | ||
"description": "Date/time picker widget based on twitter bootstrap", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
# Version 4 | ||
## 4.14.40 | ||
## 4.15.35 | ||
### New Features | ||
`tooltips` allows custom, localized text to be included for icon tooltips | ||
### Bug Squashing | ||
fixed #1066 | ||
fixed #1087 `sideBySide` properly supports `toolbarPlacement [top, bottom]` | ||
fixed #1119 | ||
fixed #1069 added input.blur() | ||
fixed #1049 fixed doc example | ||
fixed #999 picker now looks for an element with `.input-group-addon` | ||
## 4.14.30 | ||
### New Features | ||
`disabledTimeIntervals` #644 | ||
@@ -8,0 +29,0 @@ |
@@ -7,2 +7,10 @@ ## Events | ||
Parameters: | ||
``` | ||
e = { | ||
date //the currently set date. Type: moment object (clone) | ||
} | ||
``` | ||
Emitted from: | ||
@@ -18,4 +26,8 @@ | ||
Fired when the widget is shown | ||
Fired when the widget is shown. | ||
Parameters: | ||
No parameters are include, listen to `dp.change` instead | ||
Emitted from: | ||
@@ -30,4 +42,13 @@ | ||
Fired when the date is changed | ||
Fired when the date is changed. | ||
Parameters: | ||
``` | ||
e = { | ||
date, //date the picker changed to. Type: moment object (clone) | ||
oldDate //previous date. Type: moment object (clone) or false in the event of a null | ||
} | ||
``` | ||
Emitted from: | ||
@@ -46,4 +67,12 @@ | ||
Fired when a selected date fails to pass validation | ||
Fired when a selected date fails to pass validation. | ||
Parameters: | ||
``` | ||
e = { | ||
date //the invalid date. Type: moment object (clone) | ||
} | ||
``` | ||
Emmited from: | ||
@@ -60,4 +89,13 @@ | ||
<small>4.14.30</small> | ||
Fired (in most cases) when the `viewDate` changes. E.g. Next and Previous buttons, selecting a year. | ||
Includes the new `viewDate` and a change type, e.g `YYYY` and `M` for year and month. | ||
Parameters: | ||
``` | ||
e = { | ||
change, //Change type as a momentjs format token. Type: string e.g. yyyy on year change | ||
viewDate //new viewDate. Type: moment object | ||
} | ||
``` |
## Functions | ||
<div class="alert alert-info"> | ||
<strong>Note</strong> | ||
All functions are accessed via the <code>data</code> attribute e.g. <code>$('#datetimepicker').data("DateTimePicker").FUNCTION()</code> | ||
</div> | ||
###destroy() | ||
@@ -425,9 +430,9 @@ | ||
### keybinds | ||
### keyBinds | ||
#### keybinds() | ||
#### keyBinds() | ||
Returns a `string` variable with the currently set `options.keybinds` option. | ||
Returns a `string` variable with the currently set `options.keyBinds` option. | ||
#### keybinds(object) | ||
#### keyBinds(object) | ||
@@ -528,3 +533,3 @@ Takes an `object` value. | ||
<small>4.14.40</small> PR #884 | ||
<small>4.14.30</small> PR #884 | ||
@@ -546,3 +551,3 @@ #### focusOnShow() | ||
<small>4.14.40</small> Issue: #644 | ||
<small>4.14.30</small> Issue: #644 | ||
@@ -569,3 +574,3 @@ #### disabledTimeIntervals() | ||
<small>4.14.40</small> Issue: #851 | ||
<small>4.14.30</small> Issue: #851 | ||
@@ -591,3 +596,3 @@ #### disabledHours() | ||
<small>4.14.40</small> Issue #872 | ||
<small>4.14.30</small> Issue #872 | ||
@@ -605,3 +610,3 @@ #### viewDate() | ||
### parseInputDate | ||
<small>4.14.40</small> Issue #1095 | ||
<small>4.14.30</small> Issue #1095 | ||
@@ -654,2 +659,19 @@ #### parseInputDate() | ||
} | ||
``` | ||
``` | ||
---------------------- | ||
### tooltips | ||
<small>4.14.30</small> | ||
#### tooltips() | ||
Returns an `Ojbect` of `options.tooltips` | ||
#### tooltips(tooltips) | ||
Takes an `Ojbect` of `strings`. | ||
##### Throws | ||
* `TypeError` - if tooltips parameter is not an `Ojbect` |
@@ -5,3 +5,3 @@ #Bootstrap 3 Datepicker v4 Docs | ||
<strong>Note</strong> | ||
All functions are accessed via the <code>data</code> attribute e.g. <code>$('#datetimepicker6').data("DateTimePicker").FUNCTION()</code> | ||
All functions are accessed via the <code>data</code> attribute e.g. <code>$('#datetimepicker').data("DateTimePicker").FUNCTION()</code> | ||
</div> | ||
@@ -551,9 +551,7 @@ | ||
<div class="container"> | ||
<div class="col-sm-6"> | ||
<div class="form-group"> | ||
<div class="row"> | ||
<div class="col-md-8"> | ||
<div id="datetimepicker12"></div> | ||
</div> | ||
<div style="overflow:hidden;"> | ||
<div class="form-group"> | ||
<div class="row"> | ||
<div class="col-md-8"> | ||
<div id="datetimepicker12"></div> | ||
</div> | ||
@@ -575,9 +573,7 @@ </div> | ||
``` | ||
<div class="container"> | ||
<div class="col-sm-6"> | ||
<div class="form-group"> | ||
<div class="row"> | ||
<div class="col-md-8"> | ||
<div id="datetimepicker12"></div> | ||
</div> | ||
<div style="overflow:hidden;"> | ||
<div class="form-group"> | ||
<div class="row"> | ||
<div class="col-md-8"> | ||
<div id="datetimepicker12"></div> | ||
</div> | ||
@@ -584,0 +580,0 @@ </div> |
@@ -68,4 +68,4 @@ # Minimal Requirements | ||
```ruby | ||
gem 'momentjs-rails', '>= 2.8.1' | ||
gem 'bootstrap3-datetimepicker-rails', '~> 4.7.14' | ||
gem 'momentjs-rails', '>= 2.9.0' | ||
gem 'bootstrap3-datetimepicker-rails', '~> 4.14.30' | ||
``` | ||
@@ -72,0 +72,0 @@ Note: You may need to change the version number above to the version number on the badge above. |
@@ -7,3 +7,3 @@ ## Options | ||
See [momentjs' docs](http://momentjs.com/docs/#/displaying/format/) for valid formats. Format also dictates what components are show, e.g. `MM/dd/YYYY` will not diplay the time picker. | ||
See [momentjs' docs](http://momentjs.com/docs/#/displaying/format/) for valid formats. Format also dictates what components are shown, e.g. `MM/dd/YYYY` will not display the time picker. | ||
@@ -353,3 +353,3 @@ ---------------------- | ||
Will cause the date picker to stay open after selecting a date if no time components are being used. | ||
Allows for custom events to fire on keyboard press. | ||
@@ -372,3 +372,3 @@ ---------------------- | ||
<small>4.14.40</small> | ||
<small>4.14.30</small> | ||
@@ -384,3 +384,3 @@ Default: false | ||
<small>4.14.40</small> | ||
<small>4.14.30</small> | ||
@@ -396,3 +396,3 @@ Default: false | ||
<small>4.14.40</small> | ||
<small>4.14.30</small> | ||
@@ -408,3 +408,3 @@ Default: true | ||
<small>4.14.40</small> | ||
<small>4.14.30</small> | ||
@@ -420,3 +420,3 @@ Default: false | ||
<small>4.14.40</small> | ||
<small>4.14.30</small> | ||
@@ -432,6 +432,34 @@ Default: false | ||
<small>4.14.40</small> | ||
<small>4.14.30</small> | ||
Default: false | ||
This will change the `viewDate` without changing or setting the selected date. | ||
This will change the `viewDate` without changing or setting the selected date. | ||
---------------------- | ||
### tooltips | ||
<small>4.15.35</small> | ||
``` | ||
tooltips: { | ||
today: 'Go to today', | ||
clear: 'Clear selection', | ||
close: 'Close the picker', | ||
selectMonth: 'Select Month', | ||
prevMonth: 'Previous Month', | ||
nextMonth: 'Next Month', | ||
selectYear: 'Select Year', | ||
prevYear: 'Previous Year', | ||
nextYear: 'Next Year', | ||
selectDecade: 'Select Decade', | ||
prevDecade: 'Previous Decade', | ||
nextDecade: 'Next Decade', | ||
prevCentury: 'Previous Century', | ||
nextCentury: 'Next Century' | ||
} | ||
``` | ||
This will change the `tooltips` over each icon to a custom string |
@@ -89,3 +89,4 @@ module.exports = function (grunt) { | ||
cleancss: true, | ||
compress: true | ||
compress: true, | ||
paths: 'node_modules' | ||
}, | ||
@@ -97,2 +98,5 @@ files: { | ||
development: { | ||
options: { | ||
paths: 'node_modules' | ||
}, | ||
files: { | ||
@@ -99,0 +103,0 @@ 'build/css/bootstrap-datetimepicker.css': 'src/less/bootstrap-datetimepicker-build.less' |
{ | ||
"name": "eonasdan-bootstrap-datetimepicker", | ||
"main": "src/js/bootstrap-datetimepicker.js", | ||
"version": "4.14.30", | ||
"homepage": "http://eonasdan.github.io/bootstrap-datetimepicker/", | ||
"author": { | ||
"name": "Jonathan Peterson" | ||
}, | ||
"license": { | ||
"license": "MIT" | ||
}, | ||
"description": "A date/time picker component designed to work with Bootstrap 3 and Momentjs. For usage, installation and demos see Project Site on GitHub", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/eonasdan/bootstrap-datetimepicker.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/eonasdan/bootstrap-datetimepicker/issues" | ||
}, | ||
"keywords": [ | ||
"twitter-bootstrap", | ||
"bootstrap", | ||
"datepicker", | ||
"datetimepicker", | ||
"timepicker", | ||
"moment" | ||
], | ||
"dependencies": { | ||
"moment": "~2.8.2", | ||
"bootstrap": "^3.0", | ||
"jquery": ">=1.8.3 <2.2.0" | ||
}, | ||
"devDependencies": { | ||
"grunt": "latest", | ||
"grunt-contrib-jasmine": "^0.7.0", | ||
"grunt-contrib-jshint": "latest", | ||
"grunt-contrib-less": "latest", | ||
"grunt-contrib-uglify": "latest", | ||
"grunt-jscs": "latest", | ||
"grunt-string-replace": "latest", | ||
"load-grunt-tasks": "latest", | ||
"grunt-nuget": "^0.1.4" | ||
} | ||
"author": { | ||
"name": "Jonathan Peterson" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/eonasdan/bootstrap-datetimepicker/issues" | ||
}, | ||
"dependencies": { | ||
"moment": "~2.8", | ||
"bootstrap": "^3.0", | ||
"jquery": ">=1.8.3 <2.2.0" | ||
}, | ||
"description": "A date/time picker component designed to work with Bootstrap 3 and Momentjs. For usage, installation and demos see Project Site on GitHub", | ||
"devDependencies": { | ||
"grunt": "latest", | ||
"grunt-contrib-jasmine": "^0.7.0", | ||
"grunt-contrib-jshint": "latest", | ||
"grunt-contrib-less": "latest", | ||
"grunt-contrib-uglify": "latest", | ||
"grunt-jscs": "latest", | ||
"grunt-string-replace": "latest", | ||
"load-grunt-tasks": "latest", | ||
"grunt-nuget": "^0.1.4" | ||
}, | ||
"homepage": "http://eonasdan.github.io/bootstrap-datetimepicker/", | ||
"keywords": [ | ||
"twitter-bootstrap", | ||
"bootstrap", | ||
"datepicker", | ||
"datetimepicker", | ||
"timepicker", | ||
"moment" | ||
], | ||
"license": "MIT", | ||
"main": "src/js/bootstrap-datetimepicker.js", | ||
"name": "eonasdan-bootstrap-datetimepicker", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/eonasdan/bootstrap-datetimepicker.git" | ||
}, | ||
"version": "4.15.35" | ||
} |
# Bootstrap 3 Date/Time Picker | ||
![GitHub version](https://badge.fury.io/gh/Eonasdan%2Fbootstrap-datetimepicker.png) ![Travis](https://travis-ci.org/Eonasdan/bootstrap-datetimepicker.svg?branch=development) | ||
![GitHub version](https://badge.fury.io/gh/Eonasdan%2Fbootstrap-datetimepicker.png) ![Travis](https://travis-ci.org/Eonasdan/bootstrap-datetimepicker.svg?branch=development) [![Stories in Ready](https://badge.waffle.io/Eonasdan/bootstrap-datetimepicker.png?label=ready&title=Ready)](https://waffle.io/Eonasdan/bootstrap-datetimepicker) | ||
@@ -8,2 +8,14 @@ ![DateTimePicker](http://i.imgur.com/nfnvh5g.png) | ||
# v4.15.35 | ||
Is the current stable release. The latest and greatest changes are available from the [development branch](https://github.com/Eonasdan/bootstrap-datetimepicker/tree/development) | ||
# Version 5 | ||
IMPORANT! The Nuget packages will be depreciated in this release. Moving forward, Asp.Net/Nuget will **NOT** be delivering content packages like this one and you will need to use bower. See [this issue for more]( https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1128) | ||
v5 is [in planning](https://github.com/Eonasdan/bootstrap-datetimepicker/issues/841). We welcome your suggestions. | ||
A major update is a great time to make be able to make breaking changes. | ||
## Submitting Issues | ||
@@ -14,10 +26,12 @@ If you have issues, please check the following first: | ||
* Do you have the latest version of jQuery? | ||
* Please test and/or fork [this jsfiddle](http://jsfiddle.net/Eonasdan/0Ltv25o8/) with an example of your issue before you post an issue here. | ||
* Please test and/or fork [this jsfiddle](http://jsfiddle.net/Eonasdan/0Ltv25o8/) with an example of your issue before you post an issue here. | ||
* Please indicate which version of the picker you are using (this can be found at the top of any included file) | ||
## Where do you use this? | ||
I'd love to know if your public site is using this plugin and list your logo on the documentation site. Please email me `eonasdan at outlook dot com`. Do not submit issue/feature request to this email, they will be **ignored**. | ||
I'd love to know if your public site is using this plugin and list your logo on the documentation site. Please email me `me at eonasdan dot com`. | ||
##Priority support is available at an hourly rate. If you have an urgent request, bug or need installation help, please contact me at `me at eonasdan dot com` for a quote. | ||
## [Installation instructions](http://eonasdan.github.io/bootstrap-datetimepicker/Installing/) | ||
## [Change Log](http://eonasdan.github.io/bootstrap-datetimepicker/Version%204%20Changelog/) | ||
## [Change Log](http://eonasdan.github.io/bootstrap-datetimepicker/Changelog/) |
@@ -37,3 +37,3 @@ module.exports = function (grunt) { | ||
pattern: /"version": .*/, | ||
replacement: '"version": "' + version + '",' | ||
replacement: '"version": "' + version + '"' | ||
} | ||
@@ -40,0 +40,0 @@ ] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 5 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
6858152
404
0
90285
36
4
5
9
Updatedmoment@~2.8