Open bbugh opened 4 years ago
@bbugh this is old :), but i just had the same issue,
i have the same issue:
start_time: 23:00 end_time: 24:00
this will trigger this validation to raise exception because 24:00 will be converted to 00:00
validates_time :end_time,
after: :start_time, after_message: _('End time should be after start time'),
if: :start_time
When setting
24:00
, the gem seems to wrap the expected value to 0, so there seems to be no way to say "before midnight".