i18n_date_range 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/i18n_date_range/i18n_date_range_helper.rb +2 -1
- data/lib/i18n_date_range/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45ae5dfe748a63b919691eaf67872eb8f8775ff20a5eecec82f779f22b1cec25
|
4
|
+
data.tar.gz: 8460d8348f8261c65da25181dd194024eb6c80cb2eca5798ff8b334fd110068e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz: '
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0415788951bc1dc174ed4e113a1b7ca769b9d6b91d42d203bf118d8e3e7619266e7d39824529315a6a9b6ca1fafcb806066e9c6d80dadb5712a1dbcd0e097258'
|
7
|
+
data.tar.gz: 07ac181766dade2105b1251973d21aeef3beb8b573944bff934bf5489541112a2560b42c0493f1857df57473a15d4e32dee7cecea42630ffef1ea51a4f4eb8e8
|
data/Gemfile.lock
CHANGED
@@ -7,7 +7,8 @@
|
|
7
7
|
module I18nDateRangeHelper
|
8
8
|
|
9
9
|
def date_range_i18n(from_date, to_date = nil, **options)
|
10
|
-
|
10
|
+
generator_options = options.slice(:format, :layout, :locale)
|
11
|
+
generator = I18nDateRangeGenerator.new(from_date, to_date, **generator_options)
|
11
12
|
generator.to_s.html_safe
|
12
13
|
end
|
13
14
|
|