I have a time field in database, is there a similar helper to date_select ?
On 2005.07.14., at 14:11, Oliver Legg wrote:> I have a time field in database, is there a similar helper to > date_select ?Yup, <%= datetime_select ''article'', ''publish_on'' %>
Yes I knew about that, but that has a date field aswell, I only want the time section, because the field type in my database is ''time''. On 14 Jul 2005, at 13:34, Zoltan Varady wrote:> <%= datetime_select ''article'', ''publish_on'' %>_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
there is a patch I submitted that includes a time_select http://dev.rubyonrails.com/ticket/1260 Oliver Legg wrote:> Yes I knew about that, but that has a date field aswell, I only want > the time section, because the field type in my database is ''time''. > > On 14 Jul 2005, at 13:34, Zoltan Varady wrote: > >> <%= datetime_select ''article'', ''publish_on'' %> >> > >------------------------------------------------------------------------ > >_______________________________________________ >Rails mailing list >Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >http://lists.rubyonrails.org/mailman/listinfo/rails > >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails