ffxiv 1.0.3 → 1.0.4
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 +4 -4
- data/lib/ffxiv/utils.rb +3 -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: d25fa728963bbc0f07e7a48276951b9d5455bf4e
|
4
|
+
data.tar.gz: 6f1f9642c534524ab879b0038e849691396b86cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3db3a076f9e9711f2e4021b2da49c4ec4432383a1265af9134fa27d8003c231b54e87da8ee7f8ce8f5c92a0b89da13a19aece9692f778921d334899129bdb94c
|
7
|
+
data.tar.gz: 18c8cf240363714abc7d7d9ce1f5f75fa12c7d92e2479ff8ecb4f0a95c32b74fcbbef121db58433c1522da6d03011d4d2c1db48ff50e941c03351b4ce416556d
|
data/lib/ffxiv/utils.rb
CHANGED
@@ -46,7 +46,9 @@ module FFXIV
|
|
46
46
|
|
47
47
|
def ed2gd(ed)
|
48
48
|
partials = ed.match(/^(\d+).+([1-6].*)$/)
|
49
|
-
|
49
|
+
# Wanted to use 2013 as year, but 2013 is not a leap year, resulting in invalid format error on deriving a birthday if nameday is "32st Sun of the 1st Umbral Moon".
|
50
|
+
# Use the closest year here since year value is not relevant anyways.
|
51
|
+
Date.new(2012, @@eorzean_months[partials[2]], @@eorzean_days[partials[2]][partials[1].to_i])
|
50
52
|
end
|
51
53
|
|
52
54
|
def servers
|