ERROR: Couldn't find any input plugin named 'date'

I'm working with a config file to import a csv file into logstash sample below:

filter {

    csv {
	columns => [Column names here]

}

   	 date { 
	match => ["donation_timestamp", "yyyy-MM-dd HH:mm:ss.SSS", "yyyy-MM-dd HH:mm:ss"]
}  
    
mutate {
    	convert => ["donation_optional_support","float"]
    	convert => ["donation_to_project","float"]
    	convert => ["donation_total","float"]
    }

}

The error reported is:
Couldn't find any input plugin named 'date'. Are you sure this is correct? Trying to load the date input plugin resulted in this error: no such file to load -- logstash/inputs/date

I know there is a logstash/filter/date plugin but there shouldn't be a inputs/date to my knowledge cannot figure this out.

What version are you on?

I tried this on both 2.1.1 and 2.1.0

Can you show your input block, which Logstash seems to be complaining about?

Input

input {
file {
path => ["/Data/donations.csv“]
start_position => beginning
}
}

And output

output {

    elasticsearch { hosts => "localhost" index => "opendata" index_type => "donations"}  
    
    }