mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Fix package.json. Use jquery.datetimepicker.full.min.js how main file
This commit is contained in:
parent
46640e5a38
commit
cb8086ebfc
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "datetimepicker",
|
"name": "datetimepicker",
|
||||||
"version": "2.4.7",
|
"version": "2.4.8",
|
||||||
"main": [
|
"main": [
|
||||||
"build/jquery.datetimepicker.full.js",
|
"build/jquery.datetimepicker.full.js",
|
||||||
"build/jquery.datetimepicker.full.min.js",
|
"build/jquery.datetimepicker.full.min.js",
|
||||||
@ -36,11 +36,6 @@
|
|||||||
"jquery",
|
"jquery",
|
||||||
"touch"
|
"touch"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
|
||||||
"jquery": ">= 1.7.2",
|
|
||||||
"jquery-mousewheel": ">= 3.1.13",
|
|
||||||
"php-date-formatter": ">= 1.3.3"
|
|
||||||
},
|
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Chupurnov Valeriy",
|
"name": "Chupurnov Valeriy",
|
||||||
|
@ -152,7 +152,7 @@ var DateFormatter;
|
|||||||
vMeriOffset = _compare(mer, vSettings.meridiem[0]) ? 0 :
|
vMeriOffset = _compare(mer, vSettings.meridiem[0]) ? 0 :
|
||||||
(_compare(mer, vSettings.meridiem[1]) ? 12 : -1);
|
(_compare(mer, vSettings.meridiem[1]) ? 12 : -1);
|
||||||
if (iDatePart >= 1 && iDatePart <= 12 && vMeriOffset > -1) {
|
if (iDatePart >= 1 && iDatePart <= 12 && vMeriOffset > -1) {
|
||||||
out.hour = iDatePart + vMeriOffset;
|
out.hour = iDatePart + vMeriOffset - 1;
|
||||||
} else if (iDatePart >= 0 && iDatePart <= 23) {
|
} else if (iDatePart >= 0 && iDatePart <= 23) {
|
||||||
out.hour = iDatePart;
|
out.hour = iDatePart;
|
||||||
}
|
}
|
||||||
@ -575,7 +575,7 @@ var DateFormatter;
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
})();/**
|
})();/**
|
||||||
* @preserve jQuery DateTimePicker plugin v2.4.7
|
* @preserve jQuery DateTimePicker plugin v2.4.8
|
||||||
* @homepage http://xdsoft.net/jqplugins/datetimepicker/
|
* @homepage http://xdsoft.net/jqplugins/datetimepicker/
|
||||||
* @author Chupurnov Valeriy (<chupurnov@gmail.com>)
|
* @author Chupurnov Valeriy (<chupurnov@gmail.com>)
|
||||||
*/
|
*/
|
||||||
@ -583,7 +583,7 @@ var DateFormatter;
|
|||||||
;(function (factory) {
|
;(function (factory) {
|
||||||
if ( typeof define === 'function' && define.amd ) {
|
if ( typeof define === 'function' && define.amd ) {
|
||||||
// AMD. Register as an anonymous module.
|
// AMD. Register as an anonymous module.
|
||||||
define(['jquery', 'jquery-mousewheel', 'date-functions'], factory);
|
define(['jquery', 'jquery-mousewheel'], factory);
|
||||||
} else if (typeof exports === 'object') {
|
} else if (typeof exports === 'object') {
|
||||||
// Node/CommonJS style for Browserify
|
// Node/CommonJS style for Browserify
|
||||||
module.exports = factory;
|
module.exports = factory;
|
||||||
|
2
build/jquery.datetimepicker.full.min.js
vendored
2
build/jquery.datetimepicker.full.min.js
vendored
File diff suppressed because one or more lines are too long
2
build/jquery.datetimepicker.min.js
vendored
2
build/jquery.datetimepicker.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "datetimepicker",
|
"name": "datetimepicker",
|
||||||
"version": "2.4.7",
|
"version": "2.4.8",
|
||||||
"title": "jQuery Date and Time picker",
|
"title": "jQuery Date and Time picker",
|
||||||
"description": "jQuery plugin for date, time, or datetime manipulation in form",
|
"description": "jQuery plugin for date, time, or datetime manipulation in form",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @preserve jQuery DateTimePicker plugin v2.4.7
|
* @preserve jQuery DateTimePicker plugin v2.4.8
|
||||||
* @homepage http://xdsoft.net/jqplugins/datetimepicker/
|
* @homepage http://xdsoft.net/jqplugins/datetimepicker/
|
||||||
* @author Chupurnov Valeriy (<chupurnov@gmail.com>)
|
* @author Chupurnov Valeriy (<chupurnov@gmail.com>)
|
||||||
*/
|
*/
|
||||||
@ -7,7 +7,7 @@
|
|||||||
;(function (factory) {
|
;(function (factory) {
|
||||||
if ( typeof define === 'function' && define.amd ) {
|
if ( typeof define === 'function' && define.amd ) {
|
||||||
// AMD. Register as an anonymous module.
|
// AMD. Register as an anonymous module.
|
||||||
define(['jquery', 'jquery-mousewheel', 'date-functions'], factory);
|
define(['jquery', 'jquery-mousewheel'], factory);
|
||||||
} else if (typeof exports === 'object') {
|
} else if (typeof exports === 'object') {
|
||||||
// Node/CommonJS style for Browserify
|
// Node/CommonJS style for Browserify
|
||||||
module.exports = factory;
|
module.exports = factory;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "jquery-datetimepicker",
|
"name": "jquery-datetimepicker",
|
||||||
"version": "2.4.7",
|
"version": "2.4.8",
|
||||||
"description": "jQuery Plugin DateTimePicker it is DatePicker and TimePicker in one",
|
"description": "jQuery Plugin DateTimePicker it is DatePicker and TimePicker in one",
|
||||||
"main": "jquery.datetimepicker.js",
|
"main": "jquery.datetimepicker.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -29,6 +29,11 @@
|
|||||||
"url": "https://github.com/xdan/datetimepicker/issues"
|
"url": "https://github.com/xdan/datetimepicker/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/xdan/datetimepicker",
|
"homepage": "https://github.com/xdan/datetimepicker",
|
||||||
|
"dependencies": {
|
||||||
|
"jquery": ">= 1.7.2",
|
||||||
|
"jquery-mousewheel": ">= 3.1.13",
|
||||||
|
"php-date-formatter": ">= 1.3.3"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concat-cli": "^1.0.1",
|
"concat-cli": "^1.0.1",
|
||||||
"uglifyjs": "^2.4.10"
|
"uglifyjs": "^2.4.10"
|
||||||
|
Loading…
Reference in New Issue
Block a user