File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def self.match_zone(input_time, reference)
58
58
end
59
59
60
60
# Ensure that this is either nil, or a time
61
- def self . ensure_time ( time , date_eod = false )
61
+ def self . ensure_time ( time , reference = nil , date_eod = false )
62
62
case time
63
63
when DateTime
64
64
warn "IceCube: DateTime support is deprecated (please use Time) at: #{ caller [ 2 ] } "
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ def until_time
11
11
deprecated_alias :until_date , :until_time
12
12
13
13
def until ( time )
14
- time = TimeUtil . ensure_time ( time , true )
14
+ time = TimeUtil . ensure_time ( time , nil , true )
15
15
@until = time
16
16
replace_validations_for ( :until , time . nil? ? nil : [ Validation . new ( time ) ] )
17
17
self
You can’t perform that action at this time.
0 commit comments