lib/killbill/gen/api/entitlement.rb in killbill-1.8.4 vs lib/killbill/gen/api/entitlement.rb in killbill-1.9.0
- old
+ new
@@ -104,18 +104,18 @@
@id = @id.nil? ? nil : @id.to_s
# conversion for created_date [type = org.joda.time.DateTime]
@created_date = j_obj.created_date
if !@created_date.nil?
- fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time
+ fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time_no_millis # See https://github.com/killbill/killbill-java-parser/issues/3
str = fmt.print(@created_date)
@created_date = DateTime.iso8601(str)
end
# conversion for updated_date [type = org.joda.time.DateTime]
@updated_date = j_obj.updated_date
if !@updated_date.nil?
- fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time
+ fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time_no_millis # See https://github.com/killbill/killbill-java-parser/issues/3
str = fmt.print(@updated_date)
@updated_date = DateTime.iso8601(str)
end
# conversion for base_entitlement_id [type = java.util.UUID]