Remove ":" from the ruby on rails time_select helper output?
I want to remove the ":" from the output of the rails time_select helper. The helper seems to output this automatically when the minutes select box is built. Any ideas? Thanks! ...
I want to remove the ":" from the output of the rails time_select helper. The helper seems to output this automatically when the minutes select box is built. Any ideas? Thanks! ...
I have a time_select in which I am trying to set a time value as follows; <%= f.time_select :start_time, :value => (@invoice.start_time ? @invoice.start_time : Time.now) %> This always produces a time selector with the current time rather than the value for @invoice.start_time. @invoice.start_time is in fact a datetime object but thi...
I have the need to capture a time and time zone from users of a rails 2.3.8 app, but have been unable to think of a clean solution to create and parse the selections. Ideally I would have a drop-down menus for the following: hour (1-12) minute (0-59) AM/PM Time Zone Is there a gem/plugin that accomplishes what I am looking for? Will...