italian-ruby 1.5.2 → 1.5.3
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/date.rb +7 -0
- 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: 842d190a74cdee51fa6df713f0333ea77d720fcf306e33f80a0b679d7c5c5368
|
4
|
+
data.tar.gz: 88faa3868b041267798f4150138aea7923c66ae8248d5d9380e66c37fc08c5c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 811fc9e4d55c2d9d386b79a026d81051d3e328c477b8a433d79eedd2266250e1346fe871fdfce96ffaa512bc2eb472e601f52c1d59f4c57512e710fab316a7cb
|
7
|
+
data.tar.gz: 8b2279c79e6c2f573a4334949bdc2345b0725d575c81deab0eb08fb4f6ea07d203efa35e9711c067ede8790de6f9f7741c69bdee1bbdfcfe2c6779807efac947
|
@@ -46,6 +46,13 @@ class Date
|
|
46
46
|
def formatta_locale(format)
|
47
47
|
formattazione = strftime format
|
48
48
|
formattazione
|
49
|
+
.gsub(/Monday/i, "Lunedì")
|
50
|
+
.gsub(/Tuesday/i, "Martedì")
|
51
|
+
.gsub(/Wednesday/i, "Mercoledì")
|
52
|
+
.gsub(/Thursday/i, "Giovedì")
|
53
|
+
.gsub(/Friday/i, "Venerdì")
|
54
|
+
.gsub(/Saturday/i, "Sabato")
|
55
|
+
.gsub(/Sunday/i, "Domenica")
|
49
56
|
.gsub(/January/i, "Gennaio")
|
50
57
|
.gsub(/February/i, "Febbraio")
|
51
58
|
.gsub(/March/i, "Marzo")
|
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.3
|
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-12-
|
11
|
+
date: 2021-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|