lib/sport_ngin_aws_auditor/instance_helper.rb
# assuming the value of the tag is in the form: 01/01/2000 like a date
assuming the value of the tag is in the form: 01/01/2000 like a date
assuming the value of the tag is in the form : 01 / 01 / 2000 like a date
def filter_instances_with_tags(instances)
      instances.select do |instance|
        value = gather_instance_tag_date(instance)
        value && (Date.today.to_s < value.to_s)
      end
    end
def filter_instances_with_tags ( instances ) instances . select do | instance | value = gather_instance_tag_date ( instance ) value && ( Date . today . to_s < value . to_s ) end end
assuming the value of the tag is in the form: 01/01/2000 like a date
assuming the value of the tag is in the form : 01 / 01 / 2000 like a date
instances
<not_specific>