jquery-timepicker-rails 1.3.8 → 1.3.8.1
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 223232e5566bc6128b1ec80e641cee486117821d
|
4
|
+
data.tar.gz: 39501de9cd4670716111c724a643708df47d08d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 606c36b678424fc2c1724efa70667517c928f62b1f2f7ee0fd29ba2ca4e37309c79b3797e3b6107ceda32544f96cdfa2460a36e5af76122b7b12348d00e109b1
|
7
|
+
data.tar.gz: 2de329b997e96f1589025560621acab2b279f5ae3ea6e4f1f28400cb764a7153b8369c5c156d3dad723673928f992ac3a48e672a72709075e47b2330f9d01cff
|
@@ -431,7 +431,7 @@ requires jQuery 1.7+
|
|
431
431
|
}
|
432
432
|
|
433
433
|
if ((settings.minTime !== null || settings.durationTime !== null) && settings.showDuration) {
|
434
|
-
var durationString = _int2duration(i - durStart);
|
434
|
+
var durationString = _int2duration(i - durStart, settings.step);
|
435
435
|
if (settings.useSelect) {
|
436
436
|
row.text(row.text()+' ('+durationString+')');
|
437
437
|
} else {
|
@@ -903,7 +903,7 @@ requires jQuery 1.7+
|
|
903
903
|
return true;
|
904
904
|
}
|
905
905
|
|
906
|
-
function _int2duration(seconds)
|
906
|
+
function _int2duration(seconds, step)
|
907
907
|
{
|
908
908
|
var minutes = Math.round(seconds/60),
|
909
909
|
duration = [],
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-timepicker-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.8
|
4
|
+
version: 1.3.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanguy Krotoff (jQuery plugin by Jon Thornton)
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-06-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|