ethiopic_date 0.0.17 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87e89fb624c31dc1070c0d2f035e8ff187ec897c
4
- data.tar.gz: 751642d22b8eb6cefa999107532f1dd1ac85d3b8
3
+ metadata.gz: 54544ec3308c7193d6510a61556b5bcb4f2a2c1c
4
+ data.tar.gz: 3253bce8816742bda6fc82ae324b3b3a47a05e4b
5
5
  SHA512:
6
- metadata.gz: 7fe7a373ffbe0f8b425a4128eeb86b94551a0314d34c7fb38293b6899e0e7f06a2713cfc54c383fcebc022131cab02b47b4b1571a38949f4618613366d96913e
7
- data.tar.gz: 9c2b7fafa46e658786d9396b61fd64f7cee16600cffb4bc3686d990ca097ff95511f5ee898456302a2387e9c00974e8dfc8ec4feededec6db24ece635629e426
6
+ metadata.gz: e50ee5a0e855b6480834003b5334b6c122f4947c991f33722f9930919abbee2396be458ca82f0395f194058263b6efd7f55079796051a578031f48e576b3bbb8
7
+ data.tar.gz: 95492a047a5a31e42bbf826d3ae7fbb18ae1fd553215956333fc2f505fba51ebe136a7de1b8b77eab331ca4f5c4267f2b19c18ba30041ffb1e4e3c3d23834b02
@@ -63,7 +63,7 @@ module EthiopicDate
63
63
  emonth = (n/30) + 1
64
64
  eday = (n.modulo(30)) + 1
65
65
 
66
- return "#{eyear}/#{emonth}/#{eday}"
66
+ return "#{eyear}-#{emonth}-#{eday}"
67
67
  end
68
68
 
69
69
 
@@ -73,7 +73,7 @@ module EthiopicDate
73
73
  #@return a formated Ethiopic date string
74
74
  #@example ethiopic_date_format('2004-5-21') will be ጥር 21 ቀን 2004ዓ/ም
75
75
  def ethiopic_date_format(ethiopic_date)
76
- d = ethiopic_date.split('/')
76
+ d = ethiopic_date.split('-')
77
77
  year = d[0]
78
78
  month = d[1]
79
79
  day = d[2]
@@ -1,3 +1,3 @@
1
1
  module EthiopicDate
2
- VERSION = "0.0.17"
2
+ VERSION = "0.0.18"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ethiopic_date
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - G/yohannes Zenebe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-19 00:00:00.000000000 Z
11
+ date: 2015-08-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Simple gem to convert between Ethiopian and Gregorian dates
14
14
  email: