Support DateTime objects in dateFormat and datimFormat filter.