lib/br_danfe/helper.rb in br_danfe-0.0.4 vs lib/br_danfe/helper.rb in br_danfe-0.0.5

- old
+ new

@@ -38,10 +38,10 @@ if xml_datetime.length == 8 formated = xml_datetime elsif xml_datetime.length > 8 date = DateTime.strptime(xml_datetime, "%Y-%m-%dT%H:%M:%S %Z").to_time - formated = date.getutc.strftime("%H:%M:%S") + formated = date.strftime("%H:%M:%S") end formated end