We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a19218 commit a6e5449Copy full SHA for a6e5449
lib/ice_cube/validations/hour_of_day.rb
@@ -21,7 +21,7 @@ def realign(opening_time, start_time)
21
22
first_hour = Array(validations[:hour_of_day]).min_by(&:value)
23
time = TimeUtil::TimeWrapper.new(start_time, true)
24
- if freq > 1 && base_interval_validation.type == :hour
+ if freq > 1 #&& base_interval_validation.type == :hour
25
offset = first_hour.validate(opening_time, start_time)
26
time.add(:hour, offset - freq)
27
else
0 commit comments