lib/itax_code/parser.rb in itax_code-0.1.4 vs lib/itax_code/parser.rb in itax_code-0.2.0
- old
+ new
@@ -31,10 +31,10 @@
birthplace = decode_birthplace
{
code: tax_code,
gender: gender,
- birthdate: [year, month, day].join("-"),
+ birthdate: Date.parse([year, month, day].join("-")).to_s,
birthplace: birthplace,
omocodes: Omocode.new(tax_code).list,
raw: raw
}
end