module ETL #:nodoc: module Transform #:nodoc: # Transform a String representation of a date to a Time instance class StringToTimeTransform < ETL::Transform::Transform def initialize(control, configuration={}) super end # Transform the value using Time.parse def transform(name, value, row) Time.parse(value) end end end end