lib/rsr_group/order.rb in rsr_group-5.0.4 vs lib/rsr_group/order.rb in rsr_group-5.0.5

- old
+ new

@@ -29,10 +29,10 @@ @credentials = options.select { |k, v| [:username, :password].include?(k) } @identifier = options[:identifier] @merchant_number = "%05d" % options[:merchant_number] # Leading zeros are required @sequence_number = "%04d" % options[:sequence_number] # Leading zeros are required - @timestamp = Time.now.strftime("%Y%m%d") + @timestamp = Time.now.in_time_zone('Eastern Time (US & Canada)').strftime("%Y%m%d") @items = [] end # @param [Hash] shipping_info # @option shipping_info [String] :shipping_name *required*