RubyGems
npm
Organizations
Log in
Sign up
RubyGems
lolita
Versions diffs
3.2.0.rc.9 → 3.2.0.rc.10
lolita 3.2.0.rc.9 → 3.2.0.rc.10
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (4)
hide
show
data/app/views/components/lolita/configuration/field/date_time/_display.html.haml
+0
-1
data/lib/lolita/configuration/field/date_time.rb
+8
-0
data/lib/lolita/version.rb
+1
-1
metadata
+1
-1
data/app/views/components/lolita/configuration/field/date_time/_display.html.haml
CHANGED
Viewed
@@ -1,2 +1 @@
1
-
%span= current_form.object.send(field.name).inspect
2
1
= current_form.datetime_select field.name,field.options,field.html_options
data/lib/lolita/configuration/field/date_time.rb
CHANGED
Viewed
@@ -6,7 +6,15 @@ module Lolita
6
6
def initialize dbi,name,*args, &block
7
7
8
8
super
9
+
override_order
9
10
end
11
+
12
+
private
13
+
14
+
def override_order
15
+
@options[:order] = ::I18n.t("date.order", :default => []).map(&:to_sym)
16
+
end
17
+
10
18
end
11
19
end
12
20
end
data/lib/lolita/version.rb
CHANGED
Viewed
@@ -3,7 +3,7 @@ module Lolita
3
3
MAJOR = 3
4
4
MINOR = 2
5
5
PATCH = 0
6
-
BUILD = 'rc.
9
'
6
+
BUILD = 'rc.
10
'
7
7
8
8
STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
9
9
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: lolita
3
3
version: !ruby/object:Gem::Version
4
-
version: 3.2.0.rc.
9
4
+
version: 3.2.0.rc.
10
5
5
prerelease: 6
6
6
platform: ruby
7
7
authors: