italian-ruby 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/italian/ruby/metodi/time.rb +14 -1
- data/lib/italian/ruby/versione.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c9cd1631b6e99766b32494777c43222d5ca2e4ea0e3061b6df5d509726e4a79
|
4
|
+
data.tar.gz: 77c4f821c825a9b8ffc65bdb6011f446815f1cd6c0fa106e2531ecf59bc0a355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f88e05c499d4b800b7cf90ca591296ca99b3420cd2075e31c13b8424053b740556f634467674aea5eed18c072b683496c2e4af243428764168cf2dd0592d7c8a
|
7
|
+
data.tar.gz: 22785ca0c4397232aa65bc18bb9ed30f30341c7ff7161c84ae305d727d23c49ec3acd0ab4ebc074ffcf70d4d2e3ff0cb1ae98e37ca5162554139b03fe869265a
|
@@ -20,7 +20,20 @@ class Time
|
|
20
20
|
if defined? I18n
|
21
21
|
I18n.l self, format: format
|
22
22
|
else
|
23
|
-
strftime format
|
23
|
+
formattazione = strftime format
|
24
|
+
formattazione
|
25
|
+
.gsub(/January/i, "Gennaio")
|
26
|
+
.gsub(/February/i, "Febbraio")
|
27
|
+
.gsub(/March/i, "Marzo")
|
28
|
+
.gsub(/April/i, "Aprile")
|
29
|
+
.gsub(/May/i, "Maggio")
|
30
|
+
.gsub(/June/i, "Giugno")
|
31
|
+
.gsub(/July/i, "Luglio")
|
32
|
+
.gsub(/August/i, "Agosto")
|
33
|
+
.gsub(/September/i, "Settembre")
|
34
|
+
.gsub(/October/i, "Ottobre")
|
35
|
+
.gsub(/November/i, "Novembre")
|
36
|
+
.gsub(/December/i, "Dicembre")
|
24
37
|
end
|
25
38
|
end
|
26
39
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: italian-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francesco Ballardin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|