jquery-datetimepicker-rails 2.2.7.0 → 2.2.8.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 641d653d6fbbd7c4011b1f296f8536dddfc48dd3
|
4
|
+
data.tar.gz: 2db7555012c03a748ecf3001be250db39a13ef37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe059019916f46bc1ad17ab23681e20de16ccc092405b24d6813d69aa8ed083b5619de0214c16e36f31a03997a551a4190f48403edd3b4740448bd004b61e955
|
7
|
+
data.tar.gz: 4c16a9321f0a87b7ad0fcfe5ad16b74ce83c66747667b8e66bff77d2065876dcb2dd65e54839fa33c800bb4431f8b3d967f9fa0ed680dcde8e1df00725875492
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @preserve jQuery DateTimePicker plugin v2.2.
|
2
|
+
* @preserve jQuery DateTimePicker plugin v2.2.8
|
3
3
|
* @homepage http://xdsoft.net/jqplugins/datetimepicker/
|
4
4
|
* (c) 2014, Chupurnov Valeriy.
|
5
5
|
*/
|
@@ -242,6 +242,10 @@
|
|
242
242
|
}
|
243
243
|
};
|
244
244
|
|
245
|
+
Date.prototype.countDaysInMonth = function(){
|
246
|
+
return new Date(this.getFullYear(), this.getMonth()+1, 0).getDate();
|
247
|
+
};
|
248
|
+
|
245
249
|
$.fn.xdsoftScroller = function( _percent ) {
|
246
250
|
return this.each(function() {
|
247
251
|
var timeboxparent = $(this);
|
@@ -879,7 +883,7 @@
|
|
879
883
|
|
880
884
|
var d,y,m,classes = [];
|
881
885
|
|
882
|
-
while( i<_xdsoft_datetime.currentTime.
|
886
|
+
while( i<_xdsoft_datetime.currentTime.countDaysInMonth()||start.getDay()!=options.dayOfWeekStart||_xdsoft_datetime.currentTime.getMonth()==start.getMonth() ) {
|
883
887
|
classes = [];
|
884
888
|
i++;
|
885
889
|
|