ethiopic_date 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ethiopic_date.rb +2 -2
- data/lib/ethiopic_date/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fce9fb16ecb21de263237af16ad2e8182574c17
|
4
|
+
data.tar.gz: adffff6562f40ed860ea780468d0ea1c9c35b75a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b472f300ce7f9d240acc4990977c3ac65500933c46307247fbce4c77d233e618ede1a33a3445847cbec83a5af1aae875e198fb1eb55105d395e9358a302a501
|
7
|
+
data.tar.gz: 9b256c866f6498f4fdca2de6600b18746133904450b8369b5e32d7e52a354ab95720fc05e6d98467f0ed977faf390a5ad0b674a60f2d54ee6a4a48ee073e4198
|
data/lib/ethiopic_date.rb
CHANGED
@@ -80,11 +80,11 @@ module EthiopicDate
|
|
80
80
|
#@return a formated Ethiopic date string
|
81
81
|
#@example ethiopic_date_format('2004-5-21') will be ጥር 21 ቀን 2004ዓ/ም
|
82
82
|
def ethiopic_date_format(ethiopic_date)
|
83
|
-
|
83
|
+
year=ethiopic_date[:year]
|
84
84
|
month=ethiopic_date[:month]
|
85
85
|
day=ethiopic_date[:day]
|
86
86
|
dayName = ethiopic_date[:dayName]
|
87
|
-
return " #{AmharicDays[dayName.to_sym]}, #{day} #{AmharicMonths[month.
|
87
|
+
return " #{AmharicDays[dayName.to_sym]}, #{day} #{AmharicMonths[month.to_s]} #{year} "
|
88
88
|
end
|
89
89
|
|
90
90
|
private
|