downcase_query to omit timestamps

the "T" and "Z" characters in the date/time format are getting downcased.  now prevents date/time fields from getting downcased

Don't love the way I removed the date from the downcasing, feels a little clunky but does the trick.