xdan-datetimepicker-rails 2.3.3 → 2.3.4
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: 29ec64530b7bac0045e3e4c0a0fddc7d25358d0e
|
4
|
+
data.tar.gz: cbd9033f1892dd72d540c7dce05a6f98f73a2bc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e366b50cb8b098ac05a2f0d0f997096662e8bf4b30f12b5ac03d30310e51f29a9f6fde423d50bb886d6db6ca783353e4b92d0b963e05937d3b93c590ced8b9c1
|
7
|
+
data.tar.gz: 738f690bb19b198fe6220b10e3ca68f7491a098222ecd850c69df0cc1b271f591b9f50bb7681083410cf5a6cea4c2402312cd5f19fe0de2f90741b1454a1b8d3
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @preserve jQuery DateTimePicker plugin v2.3.
|
2
|
+
* @preserve jQuery DateTimePicker plugin v2.3.4
|
3
3
|
* @homepage http://xdsoft.net/jqplugins/datetimepicker/
|
4
4
|
* (c) 2014, Chupurnov Valeriy.
|
5
5
|
*/
|
@@ -156,7 +156,7 @@
|
|
156
156
|
"January", "Februar", "Marts", "April", "Maj", "Juni", "July", "August", "September", "Oktober", "November", "December"
|
157
157
|
],
|
158
158
|
dayOfWeek: [
|
159
|
-
"Søn", "Man", "Tir", "
|
159
|
+
"Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"
|
160
160
|
]
|
161
161
|
},
|
162
162
|
no:{ // Norwegian
|
@@ -558,10 +558,10 @@
|
|
558
558
|
_xdsoft_datetime.setCurrentTime(options.value);
|
559
559
|
}
|
560
560
|
|
561
|
-
if( isNaN(options.dayOfWeekStart)
|
561
|
+
if( isNaN(options.dayOfWeekStart) )
|
562
562
|
options.dayOfWeekStart = 0;
|
563
563
|
else
|
564
|
-
options.dayOfWeekStart = parseInt(options.dayOfWeekStart);
|
564
|
+
options.dayOfWeekStart = parseInt(options.dayOfWeekStart)%7;
|
565
565
|
|
566
566
|
if( !options.timepickerScrollbar )
|
567
567
|
scrollbar.hide();
|
@@ -954,7 +954,7 @@
|
|
954
954
|
|
955
955
|
// days
|
956
956
|
for(var j = 0; j<7; j++) {
|
957
|
-
table+='<th>'+options.i18n[options.lang].dayOfWeek[(j+options.dayOfWeekStart)
|
957
|
+
table+='<th>'+options.i18n[options.lang].dayOfWeek[(j+options.dayOfWeekStart)%7]+'</th>';
|
958
958
|
}
|
959
959
|
|
960
960
|
table+='</tr></thead>';
|
@@ -1229,6 +1229,7 @@
|
|
1229
1229
|
if( options.onChangeDateTime&&options.onChangeDateTime.call ) {
|
1230
1230
|
var $input = datetimepicker.data('input');
|
1231
1231
|
options.onChangeDateTime.call(datetimepicker, _xdsoft_datetime.currentTime, $input);
|
1232
|
+
delete options.value;
|
1232
1233
|
$input.trigger('change');
|
1233
1234
|
}
|
1234
1235
|
})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xdan-datetimepicker-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Kovach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|