jackc / tod

Time of day and shift types for Ruby
MIT License
435 stars 56 forks source link

Support time_select without seconds #83

Open brianlow opened 3 years ago

brianlow commented 3 years ago

Would be nice to support:

  f.time_select :start_time, include_date: false

this will fail converting nil to an integer because time_of_day_type.rb:7 assumes hour, min and second.