jquery_datetimepick 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -212,7 +212,7 @@
|
|
212
212
|
|
213
213
|
tp_inst._defaults = $.extend({}, this._defaults, inlineSettings, o, overrides, {
|
214
214
|
evnts:fns,
|
215
|
-
timepicker: tp_inst // add timepicker as a property of datepicker: $.
|
215
|
+
timepicker: tp_inst // add timepicker as a property of datepicker: $.datepick._get(dp_inst, 'timepicker');
|
216
216
|
});
|
217
217
|
tp_inst.amNames = $.map(tp_inst._defaults.amNames, function(val) {
|
218
218
|
return val.toUpperCase();
|
@@ -321,13 +321,13 @@
|
|
321
321
|
*/
|
322
322
|
_parseTime: function(timeString, withDate) {
|
323
323
|
if (!this.inst) {
|
324
|
-
this.inst = $.
|
324
|
+
this.inst = $.datepick._getInst(this.$input[0]);
|
325
325
|
}
|
326
326
|
|
327
327
|
if (withDate || !this._defaults.timeOnly) {
|
328
|
-
var dp_dateFormat = $.
|
328
|
+
var dp_dateFormat = $.datepick._get(this.inst, 'dateFormat');
|
329
329
|
try {
|
330
|
-
var parseRes = parseDateTimeInternal(dp_dateFormat, this._defaults.timeFormat, timeString, $.
|
330
|
+
var parseRes = parseDateTimeInternal(dp_dateFormat, this._defaults.timeFormat, timeString, $.datepick._getFormatConfig(this.inst), this._defaults);
|
331
331
|
if (!parseRes.timeObj) {
|
332
332
|
return false;
|
333
333
|
}
|
@@ -341,7 +341,7 @@
|
|
341
341
|
}
|
342
342
|
return true;
|
343
343
|
} else {
|
344
|
-
var timeObj = $.
|
344
|
+
var timeObj = $.datepick.parseTime(this._defaults.timeFormat, timeString, this._defaults);
|
345
345
|
if (!timeObj) {
|
346
346
|
return false;
|
347
347
|
}
|
@@ -393,7 +393,7 @@
|
|
393
393
|
if(litem == 'hour'){
|
394
394
|
for (var h = o[litem+'Min']; h <= max[litem]; h += parseInt(o[litem+'Grid'], 10)) {
|
395
395
|
gridSize[litem]++;
|
396
|
-
var tmph = $.
|
396
|
+
var tmph = $.datepick.formatTime(this.support.ampm? 'hht':'HH', {hour:h}, o);
|
397
397
|
html += '<td data-for="'+litem+'">' + tmph + '</td>';
|
398
398
|
}
|
399
399
|
}
|
@@ -558,8 +558,8 @@
|
|
558
558
|
return;
|
559
559
|
} // No time so nothing to check here
|
560
560
|
|
561
|
-
if ($.
|
562
|
-
var minDateTime = $.
|
561
|
+
if ($.datepick._get(dp_inst, 'minDateTime') !== null && $.datepick._get(dp_inst, 'minDateTime') !== undefined && dp_date) {
|
562
|
+
var minDateTime = $.datepick._get(dp_inst, 'minDateTime'),
|
563
563
|
minDateTimeDate = new Date(minDateTime.getFullYear(), minDateTime.getMonth(), minDateTime.getDate(), 0, 0, 0, 0);
|
564
564
|
|
565
565
|
if (this.hourMinOriginal === null || this.minuteMinOriginal === null || this.secondMinOriginal === null || this.millisecMinOriginal === null || this.microsecMinOriginal === null) {
|
@@ -614,8 +614,8 @@
|
|
614
614
|
}
|
615
615
|
}
|
616
616
|
|
617
|
-
if ($.
|
618
|
-
var maxDateTime = $.
|
617
|
+
if ($.datepick._get(dp_inst, 'maxDateTime') !== null && $.datepick._get(dp_inst, 'maxDateTime') !== undefined && dp_date) {
|
618
|
+
var maxDateTime = $.datepick._get(dp_inst, 'maxDateTime'),
|
619
619
|
maxDateTimeDate = new Date(maxDateTime.getFullYear(), maxDateTime.getMonth(), maxDateTime.getDate(), 0, 0, 0, 0);
|
620
620
|
|
621
621
|
if (this.hourMaxOriginal === null || this.minuteMaxOriginal === null || this.secondMaxOriginal === null || this.millisecMaxOriginal === null) {
|
@@ -781,7 +781,7 @@
|
|
781
781
|
}
|
782
782
|
|
783
783
|
if (!this.inst) {
|
784
|
-
this.inst = $.
|
784
|
+
this.inst = $.datepick._getInst(this.$input[0]);
|
785
785
|
}
|
786
786
|
|
787
787
|
this._limitMinMaxDateTime(this.inst, true);
|
@@ -791,13 +791,13 @@
|
|
791
791
|
}
|
792
792
|
|
793
793
|
// Updates the time within the timepicker
|
794
|
-
this.formattedTime = $.
|
794
|
+
this.formattedTime = $.datepick.formatTime(o.timeFormat, this, o);
|
795
795
|
if (this.$timeObj) {
|
796
796
|
if(pickerTimeFormat === o.timeFormat){
|
797
797
|
this.$timeObj.text(this.formattedTime + pickerTimeSuffix);
|
798
798
|
}
|
799
799
|
else{
|
800
|
-
this.$timeObj.text($.
|
800
|
+
this.$timeObj.text($.datepick.formatTime(pickerTimeFormat, this, o) + pickerTimeSuffix);
|
801
801
|
}
|
802
802
|
}
|
803
803
|
|
@@ -824,11 +824,11 @@
|
|
824
824
|
*/
|
825
825
|
_updateDateTime: function(dp_inst) {
|
826
826
|
dp_inst = this.inst || dp_inst;
|
827
|
-
var dt = $.
|
828
|
-
dateFmt = $.
|
829
|
-
formatCfg = $.
|
827
|
+
var dt = $.datepick._daylightSavingAdjust(new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay)),
|
828
|
+
dateFmt = $.datepick._get(dp_inst, 'dateFormat'),
|
829
|
+
formatCfg = $.datepick._getFormatConfig(dp_inst),
|
830
830
|
timeAvailable = dt !== null && this.timeDefined;
|
831
|
-
this.formattedDate = $.
|
831
|
+
this.formattedDate = $.datepick.formatDate(dateFmt, (dt === null ? new Date() : dt), formatCfg);
|
832
832
|
var formattedDateTime = this.formattedDate;
|
833
833
|
|
834
834
|
// if a slider was changed but datepicker doesn't have a value yet, set it
|
@@ -868,7 +868,7 @@
|
|
868
868
|
|
869
869
|
if(!this._defaults.timeOnly){
|
870
870
|
if (this._defaults.altFormat){
|
871
|
-
altFormattedDateTime = $.
|
871
|
+
altFormattedDateTime = $.datepick.formatDate(this._defaults.altFormat, (dt === null ? new Date() : dt), formatCfg);
|
872
872
|
}
|
873
873
|
else{
|
874
874
|
altFormattedDateTime = this.formattedDate;
|
@@ -880,7 +880,7 @@
|
|
880
880
|
}
|
881
881
|
|
882
882
|
if(this._defaults.altTimeFormat){
|
883
|
-
altFormattedDateTime += $.
|
883
|
+
altFormattedDateTime += $.datepick.formatTime(this._defaults.altTimeFormat, this, this._defaults) + altTimeSuffix;
|
884
884
|
}
|
885
885
|
else{
|
886
886
|
altFormattedDateTime += this.formattedTime + altTimeSuffix;
|
@@ -896,12 +896,12 @@
|
|
896
896
|
_onFocus: function() {
|
897
897
|
if (!this.$input.val() && this._defaults.defaultValue) {
|
898
898
|
this.$input.val(this._defaults.defaultValue);
|
899
|
-
var inst = $.
|
900
|
-
tp_inst = $.
|
899
|
+
var inst = $.datepick._getInst(this.$input.get(0)),
|
900
|
+
tp_inst = $.datepick._get(inst, 'timepicker');
|
901
901
|
if (tp_inst) {
|
902
902
|
if (tp_inst._defaults.timeOnly && (inst.input.val() != inst.lastVal)) {
|
903
903
|
try {
|
904
|
-
$.
|
904
|
+
$.datepick._updateDatepicker(inst);
|
905
905
|
} catch (err) {
|
906
906
|
$.timepicker.log(err);
|
907
907
|
}
|
@@ -983,7 +983,7 @@
|
|
983
983
|
for(var i=min; i<=max; i+=step){
|
984
984
|
sel += '<option value="'+ i +'"'+ (i==val? ' selected':'') +'>';
|
985
985
|
if(unit == 'hour'){
|
986
|
-
sel += $.
|
986
|
+
sel += $.datepick.formatTime($.trim(format.replace(/[^ht ]/ig,'')), {hour:i}, tp_inst._defaults);
|
987
987
|
}
|
988
988
|
else if(unit == 'millisec' || unit == 'microsec' || i >= 10){ sel += i; }
|
989
989
|
else {sel += '0'+ i.toString(); }
|
@@ -1071,7 +1071,7 @@
|
|
1071
1071
|
/*
|
1072
1072
|
* Public Utility to parse date and time
|
1073
1073
|
*/
|
1074
|
-
$.
|
1074
|
+
$.datepick.parseDateTime = function(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings) {
|
1075
1075
|
var parseRes = parseDateTimeInternal(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings);
|
1076
1076
|
if (parseRes.timeObj) {
|
1077
1077
|
var t = parseRes.timeObj;
|
@@ -1085,7 +1085,7 @@
|
|
1085
1085
|
/*
|
1086
1086
|
* Public utility to parse time
|
1087
1087
|
*/
|
1088
|
-
$.
|
1088
|
+
$.datepick.parseTime = function(timeFormat, timeString, options) {
|
1089
1089
|
var o = extendRemove(extendRemove({}, $.timepicker._defaults), options || {}),
|
1090
1090
|
iso8601 = (timeFormat.replace(/\'.*?\'/g,'').indexOf('Z') !== -1);
|
1091
1091
|
|
@@ -1255,7 +1255,7 @@
|
|
1255
1255
|
* time = a {}, not a Date() for timezones
|
1256
1256
|
* options = essentially the regional[].. amNames, pmNames, ampm
|
1257
1257
|
*/
|
1258
|
-
$.
|
1258
|
+
$.datepick.formatTime = function(format, time, options) {
|
1259
1259
|
options = options || {};
|
1260
1260
|
options = $.extend({}, $.timepicker._defaults, options);
|
1261
1261
|
time = $.extend({
|
@@ -1321,8 +1321,8 @@
|
|
1321
1321
|
* the bad hack :/ override datepicker so it doesnt close on select
|
1322
1322
|
// inspired: http://stackoverflow.com/questions/1252512/jquery-datepicker-prevent-closing-picker-when-clicking-a-date/1762378#1762378
|
1323
1323
|
*/
|
1324
|
-
$.
|
1325
|
-
$.
|
1324
|
+
$.datepick._base_selectDate = $.datepick._selectDate;
|
1325
|
+
$.datepick._selectDate = function(id, dateStr) {
|
1326
1326
|
var inst = this._getInst($(id)[0]),
|
1327
1327
|
tp_inst = this._get(inst, 'timepicker');
|
1328
1328
|
|
@@ -1343,12 +1343,12 @@
|
|
1343
1343
|
* second bad hack :/ override datepicker so it triggers an event when changing the input field
|
1344
1344
|
* and does not redraw the datepicker on every selectDate event
|
1345
1345
|
*/
|
1346
|
-
$.
|
1347
|
-
$.
|
1346
|
+
$.datepick._base_updateDatepicker = $.datepick._updateDatepicker;
|
1347
|
+
$.datepick._updateDatepicker = function(inst) {
|
1348
1348
|
|
1349
1349
|
// don't popup the datepicker if there is another instance already opened
|
1350
1350
|
var input = inst.input[0];
|
1351
|
-
if ($.
|
1351
|
+
if ($.datepick._curInst && $.datepick._curInst != inst && $.datepick._datepickerShowing && $.datepick._lastInput != input) {
|
1352
1352
|
return;
|
1353
1353
|
}
|
1354
1354
|
|
@@ -1367,16 +1367,16 @@
|
|
1367
1367
|
/*
|
1368
1368
|
* third bad hack :/ override datepicker so it allows spaces and colon in the input field
|
1369
1369
|
*/
|
1370
|
-
$.
|
1371
|
-
$.
|
1372
|
-
var inst = $.
|
1373
|
-
tp_inst = $.
|
1370
|
+
$.datepick._base_doKeyPress = $.datepick._doKeyPress;
|
1371
|
+
$.datepick._doKeyPress = function(event) {
|
1372
|
+
var inst = $.datepick._getInst(event.target),
|
1373
|
+
tp_inst = $.datepick._get(inst, 'timepicker');
|
1374
1374
|
|
1375
1375
|
if (tp_inst) {
|
1376
|
-
if ($.
|
1376
|
+
if ($.datepick._get(inst, 'constrainInput')) {
|
1377
1377
|
var ampm = tp_inst.support.ampm,
|
1378
1378
|
tz = tp_inst._defaults.showTimezone !== null? tp_inst._defaults.showTimezone : tp_inst.support.timezone,
|
1379
|
-
dateChars = $.
|
1379
|
+
dateChars = $.datepick._possibleChars($.datepick._get(inst, 'dateFormat')),
|
1380
1380
|
datetimeChars = tp_inst._defaults.timeFormat.toString()
|
1381
1381
|
.replace(/[hms]/g, '')
|
1382
1382
|
.replace(/TT/g, ampm ? 'APM' : '')
|
@@ -1395,31 +1395,31 @@
|
|
1395
1395
|
}
|
1396
1396
|
}
|
1397
1397
|
|
1398
|
-
return $.
|
1398
|
+
return $.datepick._base_doKeyPress(event);
|
1399
1399
|
};
|
1400
1400
|
|
1401
1401
|
/*
|
1402
1402
|
* Fourth bad hack :/ override _updateAlternate function used in inline mode to init altField
|
1403
1403
|
*/
|
1404
|
-
$.
|
1404
|
+
$.datepick._base_updateAlternate = $.datepick._updateAlternate;
|
1405
1405
|
/* Update any alternate field to synchronise with the main field. */
|
1406
|
-
$.
|
1406
|
+
$.datepick._updateAlternate = function(inst) {
|
1407
1407
|
var tp_inst = this._get(inst, 'timepicker');
|
1408
1408
|
if(tp_inst){
|
1409
1409
|
var altField = tp_inst._defaults.altField;
|
1410
1410
|
if (altField) { // update alternate field too
|
1411
1411
|
var altFormat = tp_inst._defaults.altFormat || tp_inst._defaults.dateFormat,
|
1412
1412
|
date = this._getDate(inst),
|
1413
|
-
formatCfg = $.
|
1413
|
+
formatCfg = $.datepick._getFormatConfig(inst),
|
1414
1414
|
altFormattedDateTime = '',
|
1415
1415
|
altSeparator = tp_inst._defaults.altSeparator ? tp_inst._defaults.altSeparator : tp_inst._defaults.separator,
|
1416
1416
|
altTimeSuffix = tp_inst._defaults.altTimeSuffix ? tp_inst._defaults.altTimeSuffix : tp_inst._defaults.timeSuffix,
|
1417
1417
|
altTimeFormat = tp_inst._defaults.altTimeFormat !== null ? tp_inst._defaults.altTimeFormat : tp_inst._defaults.timeFormat;
|
1418
1418
|
|
1419
|
-
altFormattedDateTime += $.
|
1419
|
+
altFormattedDateTime += $.datepick.formatTime(altTimeFormat, tp_inst, tp_inst._defaults) + altTimeSuffix;
|
1420
1420
|
if(!tp_inst._defaults.timeOnly && !tp_inst._defaults.altFieldTimeOnly && date !== null){
|
1421
1421
|
if(tp_inst._defaults.altFormat){
|
1422
|
-
altFormattedDateTime = $.
|
1422
|
+
altFormattedDateTime = $.datepick.formatDate(tp_inst._defaults.altFormat, date, formatCfg) + altSeparator + altFormattedDateTime;
|
1423
1423
|
}
|
1424
1424
|
else{
|
1425
1425
|
altFormattedDateTime = tp_inst.formattedDate + altSeparator + altFormattedDateTime;
|
@@ -1429,36 +1429,36 @@
|
|
1429
1429
|
}
|
1430
1430
|
}
|
1431
1431
|
else{
|
1432
|
-
$.
|
1432
|
+
$.datepick._base_updateAlternate(inst);
|
1433
1433
|
}
|
1434
1434
|
};
|
1435
1435
|
|
1436
1436
|
/*
|
1437
1437
|
* Override key up event to sync manual input changes.
|
1438
1438
|
*/
|
1439
|
-
$.
|
1440
|
-
$.
|
1441
|
-
var inst = $.
|
1442
|
-
tp_inst = $.
|
1439
|
+
$.datepick._base_doKeyUp = $.datepick._doKeyUp;
|
1440
|
+
$.datepick._doKeyUp = function(event) {
|
1441
|
+
var inst = $.datepick._getInst(event.target),
|
1442
|
+
tp_inst = $.datepick._get(inst, 'timepicker');
|
1443
1443
|
|
1444
1444
|
if (tp_inst) {
|
1445
1445
|
if (tp_inst._defaults.timeOnly && (inst.input.val() != inst.lastVal)) {
|
1446
1446
|
try {
|
1447
|
-
$.
|
1447
|
+
$.datepick._updateDatepicker(inst);
|
1448
1448
|
} catch (err) {
|
1449
1449
|
$.timepicker.log(err);
|
1450
1450
|
}
|
1451
1451
|
}
|
1452
1452
|
}
|
1453
1453
|
|
1454
|
-
return $.
|
1454
|
+
return $.datepick._base_doKeyUp(event);
|
1455
1455
|
};
|
1456
1456
|
|
1457
1457
|
/*
|
1458
1458
|
* override "Today" button to also grab the time.
|
1459
1459
|
*/
|
1460
|
-
$.
|
1461
|
-
$.
|
1460
|
+
$.datepick._base_gotoToday = $.datepick._gotoToday;
|
1461
|
+
$.datepick._gotoToday = function(id) {
|
1462
1462
|
var inst = this._getInst($(id)[0]),
|
1463
1463
|
$dp = inst.dpDiv;
|
1464
1464
|
this._base_gotoToday(id);
|
@@ -1472,7 +1472,7 @@
|
|
1472
1472
|
/*
|
1473
1473
|
* Disable & enable the Time in the datetimepicker
|
1474
1474
|
*/
|
1475
|
-
$.
|
1475
|
+
$.datepick._disableTimepickerDatepicker = function(target) {
|
1476
1476
|
var inst = this._getInst(target);
|
1477
1477
|
if (!inst) {
|
1478
1478
|
return;
|
@@ -1486,7 +1486,7 @@
|
|
1486
1486
|
}
|
1487
1487
|
};
|
1488
1488
|
|
1489
|
-
$.
|
1489
|
+
$.datepick._enableTimepickerDatepicker = function(target) {
|
1490
1490
|
var inst = this._getInst(target);
|
1491
1491
|
if (!inst) {
|
1492
1492
|
return;
|
@@ -1504,7 +1504,7 @@
|
|
1504
1504
|
/*
|
1505
1505
|
* Create our own set time function
|
1506
1506
|
*/
|
1507
|
-
$.
|
1507
|
+
$.datepick._setTime = function(inst, date) {
|
1508
1508
|
var tp_inst = this._get(inst, 'timepicker');
|
1509
1509
|
if (tp_inst) {
|
1510
1510
|
var defaults = tp_inst._defaults;
|
@@ -1527,7 +1527,7 @@
|
|
1527
1527
|
/*
|
1528
1528
|
* Create new public method to set only time, callable as $().datepicker('setTime', date)
|
1529
1529
|
*/
|
1530
|
-
$.
|
1530
|
+
$.datepick._setTimeDatepicker = function(target, date, withDate) {
|
1531
1531
|
var inst = this._getInst(target);
|
1532
1532
|
if (!inst) {
|
1533
1533
|
return;
|
@@ -1559,8 +1559,8 @@
|
|
1559
1559
|
/*
|
1560
1560
|
* override setDate() to allow setting time too within Date object
|
1561
1561
|
*/
|
1562
|
-
$.
|
1563
|
-
$.
|
1562
|
+
$.datepick._base_setDateDatepicker = $.datepick._setDateDatepicker;
|
1563
|
+
$.datepick._setDateDatepicker = function(target, date) {
|
1564
1564
|
var inst = this._getInst(target);
|
1565
1565
|
if (!inst) {
|
1566
1566
|
return;
|
@@ -1586,8 +1586,8 @@
|
|
1586
1586
|
/*
|
1587
1587
|
* override getDate() to allow getting time too within Date object
|
1588
1588
|
*/
|
1589
|
-
$.
|
1590
|
-
$.
|
1589
|
+
$.datepick._base_getDateDatepicker = $.datepick._getDateDatepicker;
|
1590
|
+
$.datepick._getDateDatepicker = function(target, noDefault) {
|
1591
1591
|
var inst = this._getInst(target);
|
1592
1592
|
if (!inst) {
|
1593
1593
|
return;
|
@@ -1622,8 +1622,8 @@
|
|
1622
1622
|
* override parseDate() because UI 1.8.14 throws an error about "Extra characters"
|
1623
1623
|
* An option in datapicker to ignore extra format characters would be nicer.
|
1624
1624
|
*/
|
1625
|
-
$.
|
1626
|
-
$.
|
1625
|
+
$.datepick._base_parseDate = $.datepick.parseDate;
|
1626
|
+
$.datepick.parseDate = function(format, value, settings) {
|
1627
1627
|
var date;
|
1628
1628
|
try {
|
1629
1629
|
date = this._base_parseDate(format, value, settings);
|
@@ -1644,8 +1644,8 @@
|
|
1644
1644
|
/*
|
1645
1645
|
* override formatDate to set date with time to the input
|
1646
1646
|
*/
|
1647
|
-
$.
|
1648
|
-
$.
|
1647
|
+
$.datepick._base_formatDate = $.datepick._formatDate;
|
1648
|
+
$.datepick._formatDate = function(inst, day, month, year) {
|
1649
1649
|
var tp_inst = this._get(inst, 'timepicker');
|
1650
1650
|
if (tp_inst) {
|
1651
1651
|
tp_inst._updateDateTime(inst);
|
@@ -1657,8 +1657,8 @@
|
|
1657
1657
|
/*
|
1658
1658
|
* override options setter to add time to maxDate(Time) and minDate(Time). MaxDate
|
1659
1659
|
*/
|
1660
|
-
$.
|
1661
|
-
$.
|
1660
|
+
$.datepick._base_optionDatepicker = $.datepick._optionDatepicker;
|
1661
|
+
$.datepick._optionDatepicker = function(target, name, value) {
|
1662
1662
|
var inst = this._getInst(target),
|
1663
1663
|
name_clone;
|
1664
1664
|
if (!inst) {
|
@@ -1732,9 +1732,9 @@
|
|
1732
1732
|
}
|
1733
1733
|
}
|
1734
1734
|
if (value === undefined) {
|
1735
|
-
return this._base_optionDatepicker.call($.
|
1735
|
+
return this._base_optionDatepicker.call($.datepick, target, name);
|
1736
1736
|
}
|
1737
|
-
return this._base_optionDatepicker.call($.
|
1737
|
+
return this._base_optionDatepicker.call($.datepick, target, name_clone || name, value);
|
1738
1738
|
};
|
1739
1739
|
|
1740
1740
|
/*
|
@@ -1857,10 +1857,10 @@
|
|
1857
1857
|
var parseDateTimeInternal = function(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings) {
|
1858
1858
|
var date;
|
1859
1859
|
var splitRes = splitDateTime(dateFormat, dateTimeString, dateSettings, timeSettings);
|
1860
|
-
date = $.
|
1860
|
+
date = $.datepick._base_parseDate(dateFormat, splitRes[0], dateSettings);
|
1861
1861
|
if (splitRes[1] !== '') {
|
1862
1862
|
var timeString = splitRes[1],
|
1863
|
-
parsedTime = $.
|
1863
|
+
parsedTime = $.datepick.parseTime(timeFormat, timeString, timeSettings);
|
1864
1864
|
|
1865
1865
|
if (parsedTime === null) {
|
1866
1866
|
throw 'Wrong time format';
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery_datetimepick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-06-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jquery_datepick
|
@@ -98,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
segments:
|
100
100
|
- 0
|
101
|
-
hash:
|
101
|
+
hash: 3634178074599677670
|
102
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
103
|
none: false
|
104
104
|
requirements:
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
version: '0'
|
108
108
|
segments:
|
109
109
|
- 0
|
110
|
-
hash:
|
110
|
+
hash: 3634178074599677670
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
113
|
rubygems_version: 1.8.23
|