lib/amee/profile_item.rb in Floppy-amee-2.0.22 vs lib/amee/profile_item.rb in Floppy-amee-2.0.24

- old
+ new

@@ -314,10 +314,10 @@ options[:startDate] = options[:start_date].xmlschema end options.delete(:start_date) if options[:end_date] && connection.version >= 2 options[:endDate] = options[:end_date].xmlschema - end + end options.delete(:end_date) if options[:duration] && connection.version >= 2 options[:duration] = "PT#{options[:duration] * 86400}S" end # Go