wcc-styles 1.0.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README-GEM.md +2 -1
- data/lib/assets/javascripts/wcc/styles/wcc.datetimepicker.js +3 -2
- data/lib/wcc/styles/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db0766fdf49730db701af0e4b32d3e24d9e8126c
|
4
|
+
data.tar.gz: 365d41ac7b885b0a2ac9e5f26d8a4fa8fb024f26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49e2a139319556802d808906c78bd8dbc19a89e62b6e0ed00258b69f4acb383b85ad7187bc6159132270acdf230778e08a96de50b01a8c297dd21f9a9a9cbdc5
|
7
|
+
data.tar.gz: cc3785c47fc8d1444729cf785a5a5b6b99bccf2b141b214f192623a05d89bfc555a849408538c907dc67e886aa8c187b51bd10e0bcab8f793284e5934a04c260
|
data/README-GEM.md
CHANGED
@@ -15,11 +15,12 @@ gem 'wcc-styles'
|
|
15
15
|
|
16
16
|
gem 'sass-rails', '~> 5.0.4'
|
17
17
|
gem 'coffee-rails', '~> 4.1.0'
|
18
|
-
gem 'compass-rails'
|
18
|
+
gem 'compass-rails', '~> 3.0.2'
|
19
19
|
source 'https://rails-assets.org' do
|
20
20
|
gem 'rails-assets-selectize'
|
21
21
|
gem 'rails-assets-dropzone'
|
22
22
|
gem 'rails-assets-moment'
|
23
|
+
gem 'rails-assets-moment-timezone'
|
23
24
|
gem 'rails-assets-datetimepicker', '2.4.5'
|
24
25
|
end
|
25
26
|
|
@@ -20,7 +20,8 @@ WCC.datetimepicker = (function() {
|
|
20
20
|
formatDate: DDF,
|
21
21
|
formatTime: DTF,
|
22
22
|
scrollMonth: false,
|
23
|
-
step: 30
|
23
|
+
step: 30,
|
24
|
+
timezone: "America/Chicago"
|
24
25
|
};
|
25
26
|
|
26
27
|
return dtp;
|
@@ -38,7 +39,7 @@ $(function() {
|
|
38
39
|
if (!$input.length) return;
|
39
40
|
|
40
41
|
$item.on('change', function(event) {
|
41
|
-
var time = moment(this.value,
|
42
|
+
var time = moment.tz(this.value, this.config.format, this.config.timezone);
|
42
43
|
if (time.isValid()) {
|
43
44
|
$input.val(time.toISOString());
|
44
45
|
} else {
|
data/lib/wcc/styles/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wcc-styles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Watermark Community Church
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-rails
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rails-assets-moment-timezone
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rails-assets-datetimepicker
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|