lib/validates_timeliness/validator.rb in adzap-validates_timeliness-2.2.1 vs lib/validates_timeliness/validator.rb in adzap-validates_timeliness-2.2.2
- old
+ new
@@ -222,10 +222,10 @@
time = [value.hour, value.min, value.sec]
else
time = [0,0,0]
end
dummy_date = ValidatesTimeliness::Formats.dummy_date_for_time_type
- Time.send(ValidatesTimeliness.default_timezone, *(dummy_date + time))
+ ValidatesTimeliness::Parser.make_time(dummy_date + time)
end
end
end