jobs/transforms/parse_date_job.rb in remi-0.2.39 vs jobs/transforms/parse_date_job.rb in remi-0.2.40
- old
+ new
@@ -20,9 +20,9 @@
Remi::SourceToTargetMap.apply(source_data.df, target_data.df) do
map source(:date_string) .target(:parsed_date)
.transform(Remi::Transform::ParseDate.new(in_format: params[:format], if_blank: params[:if_blank]))
map source(:stubbed_date) .target(:parsed_stubbed_date)
- .transform(Remi::Transform::ParseDate.new(in_format: params[:format], if_blank: params[:if_blank]))
+ .transform(Remi::Transform::ParseDate.new(in_format: source_data.fields[:stubbed_date][:in_format], if_blank: params[:if_blank]))
end
end
end